3 service-policy, 4 set, Service – PLANET XGS3-24042 User Manual
Page 316: Policy

18-162
Precedence of 0.
Switch(config)#class-map c1
Switch(config-classmap-c1)#match ip precedence 0
Switch(config-classmap-c1)#exit
18.3 service-policy
Command:
service-policy <policy-map-name> in
no service-policy <policy-map-name> in
Function:
Bind the specified policy of flexible QinQ to the ingress of the port, the no command cancels the
binding.
Parameters:
service-policy
Default:
No policy map is bound to port.
Command Mode:
Port Mode.
Usage Guide:
Only one policy map can be bound to each port, the function takes effect after the policy map is
bound to a port.
Example:
Apply policy-map p1 to Ethernet port 1/0/1 for flexible QinQ.
Switch(Config-If-Ethernet1/0/1)#service-policy p1 in
18.4 set
Command:
set s-vid
no set s-vid
Function:
Assign the new cos and vid value to the packets which match the class map, no command cancels
the operation.
Parameters: