5 set – PLANET XGS3-24042 User Manual
Page 312

17-158
the rule or action which is not supported by EFP.
Example:
Bind policy p1 to egress vlan1.
Switch(config)#service-policy output p1 vlan 1
17.5 set
Command:
set {ip dscp <new-dscp> | ip precedence <new-precedence> | cos <new-cos> | c-vid
<new-c-vid> | s-vid <new-s-vid> | s-tpid <new-s-tpid>}
no set {ip dscp | ip precedence | cos | c-vid | s-vid | s-tpid}
Function:
Assign a new DSCP, IP Precedence for the classified traffic; no command deletes the new value.
Parameters:
ip dscp <new-dscp> new DSCP value of IPv4 and IPv6 packets.
ip precedence <new-precedence> new IPv4 Precedence, only one can be selected for IPv4
Precedence and IP DSCP.
cos <new cos> new CoS value.
c-vid <new-c-vid> new c-vid value.
s-vid <new-s-vid> new s-vid value.
s-tpid <new-s-tpid> new s-tpid value.
Default:
Do not assign a new value.
Command Mode:
Policy Class-map Mode
Usage Guide:
Only the classified traffic matching the standard will be assigned the new values.
Example:
Set IP Precedence of the packets which satisfy c1 class rule as 3.
Switch(config)#policy-map p1
Switch(Config-PolicyMap-p1)#class c1
Switch(Config-PolicyMap-p1-Class-c1)#set ip precedence 3
Switch(Config-PolicyMap-p1-Class-c1)#exit
Switch(Config-PolicyMap-p1)#exit