Chapter 18 commands for flexible qinq, 1 add, Chapter 18 commands for flexible qinq -160 – PLANET XGS3-24042 User Manual
Page 314
18-160
COS: 0 1 2 3 4 5 6 7
-----------------------------------------
COS: 0 1 2 3 4 5 6 7
Green remarking: Disable.
Chapter 18 Commands for Flexible
QinQ
18.1 add
Command:
add s-vid
no add s-vid
Function:
Add a specified external tag or inner tag for the packet which match the class map, no command
cancels the operation.
Parameters:
s-vid
Default:
Do not add the tag.
Command Mode:
Policy class-map configuration mode
Usage Guide:
Add the external tag for the packet which match the class map after this command is configured.
Example:
Add an external VLAN Tag with VID of 2 for the packet which satisfy c1 class rule.
Switch(config)#policy-map p1
Switch(Config-PolicyMap-p1)#class c1
Switch(Config-PolicyMap-p1-Class-c1)#add s-vid 2