3 flexible qinq troubleshooting, Lexible, Roubleshooting – PLANET WGSW-52040 User Manual
Page 228

Switch(config-classmap-c1)#exit
Switch(config)#class-map c2
Switch(config-classmap-c2)#match ip dscp 20
Switch(config-classmap-c2)#exit
Switch(config)#class-map c3
Switch(config-classmap-c3)#match ip dscp 30
Switch(config-classmap-c3)#exit
Switch(config)#policy-map p1
Switch(config-policymap-p1)#class c1
Switch(config-policymap-p1-class-c1)# set s-vid 1002
Switch(config-policymap-p1)#class c2
Switch(config-policymap-p1-class-c2)# set s-vid 2002
Switch(config-policymap-p1)#class c3
Switch(config-policymap-p1-class-c3)# set s-vid 3002
Switch(config-policymap-p1-class-c3)#exit
Switch(config-policymap-p1)#exit
Switch(config)#interface ethernet 1/1
Switch(config-if-ethernet1/1)#dot1q-tunnel enable
Switch(config-if-ethernet1/1)# service-policy p1 in
25.3 Flexible QinQ Troubleshooting
If flexible QinQ policy can not be bound to the port, please check whether the problem is
caused by the following reasons:
Make sure flexible QinQ whether supports the configured class-map and policy-map
Make sure ACL includes permit rule if the class-map matches ACL rule
Make sure the switch exists enough TCAM resource to send the binding
25-7