18 service-policy input vlan, 19 set, Service – PLANET WGSW-52040 User Manual

Page 372: Policy input vlan

Advertising
background image

20-141

20.18 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 or deletes all the policy maps applied in the ingress direction of the vlan interface .

Parameters:

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

interface.

vlan <vlan-list> the vlan list of binding policy map.

no command will deletes all the policy maps applied in the ingress direction of the vlan interface if there is not the

specified policy map name.

Default:

No policy map is bound to VLAN interface by default.

Command mode:

Global Configuration Mode.

Usage Guide:

Only one policy map can be applied to each direction of each port or VLAN interface. It is not recommended to use

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

20.19 set

Command:

set {ip dscp <new-dscp> | ip precedence <new-precedence> | internal priority <new-inp> | drop precedence

<new-dp> | cos <new-cos>}

no set {ip dscp | ip precedence | internal priority | drop precedence | cos}

Advertising