20 service-policy input vlan, 21 set internal priority, Service – PLANET XGS3-24042 User Manual

Page 294: Policy input vlan, Set internal priority

Advertising
background image

15-140

Switch(Config-If-Ethernet1/0/1)#service-policy input p1

Bind policy p1 to ingress redirection of v1 interface.

Switch(config)#interface vlan 1

Switch(Config-If-vlan1)#service-policy input p1

15.20 service-policy input vlan

Command:

service-policy input <policy-map-name> vlan <vlan-list>

no service-policy input <policy-map-name> vlan < vlan-list>

Function:

Applies a policy map to the specified VLAN interface; the no command deletes the specified policy

map applied to the VLAN interface.

Parameters:

input <policy-map-name> applies the specified policy map to the ingress direction of switch VLAN

interface.

Default:

No policy map is bound to port and VLAN interface by default.

Command mode:

Global Configuration Mode.

Usage Guide:

Only one policy map can be applied to each direction of each VLAN interface. Use the policy-map

on the port at first when binding policy-map on VLAN and VLAN's port at the same time. Egress

policy map is not supported yet.

Example:

Bind policy p1 to ingress of VLAN interface v2, v3, v4, v6.

Switch(config)# service-policy input p1 vlan 2-4;6

15.21 set internal priority

Command:

set internal priority <new-intp>

no set internal priority

Function:

Assign a new internal priority for the classified traffic, the no command cancels the new value

Advertising
This manual is related to the following products: