INS_CWGE24MS2_REV–
10/05/16 PAGE 115
INSTALLATION AND OPERATION MANUAL
CWGE24MS2
TECH SUPPORT: 1.888.678.9427
Selective Q-in-Q
The traffic based Q-in-Q is also called Selective Q-in-Q. Selective Q-in-Q allows the Switch to
add different outer VLAN tags to the incoming frames received on one port according to their
inner VLAN tags. In the Selective Q-in-Q mode, switch performs traffic classification for the traffic
incoming to a port based on the VLAN ID. When a user uses different VLAN IDs for different
services, traffic can be classified according to the VLAN ID. For example, the VLAN ID 20 for
surfing on the internet by PC, VLAN ID 30 for IPTV and VLAN ID 40 for VIP customers. After
receiving user data, the switch labels the traffic of surfing on the Internet by PC with 500 as a
SPVID outer tag, IPTV with 600, and VIP customers with 700.
VLAN 20
VLAN 40
VLAN 30
600,30
500,20
700,40
This following example shows how to configure ports 3 on the Switch to tag incoming frames with
the different service provider’s VID and priority.
CWGE24MS2(config)# vlan-stacking selective
CWGE24MS2(config)# vlan-stacking tpid-table index 6 value 9100
CWGE24MS2(config)# vlan 20
CWGE24MS2(config-vlan)# fixed 3,4
CWGE24MS2(config-vlan)# tagged 3
CWGE24MS2(config-vlan)# exit
CWGE24MS2(config)# vlan 30
CWGE24MS2(config-vlan)# fixed 3,4
CWGE24MS2(config-vlan)# tagged 3
CWGE24MS2(config-vlan)# exit
CWGE24MS2(config)# vlan 40
CWGE24MS2(config-vlan)# fixed 3,4
CWGE24MS2(config-vlan)# tagged 3
CWGE24MS2(config-vlan)# exit
CWGE24MS2(config)# vlan 500
CWGE24MS2(config-vlan)# fixed 3,4
CWGE24MS2(config-vlan)# tagged 4
CWGE24MS2(config-vlan)# exit
CWGE24MS2(config)# vlan 600
CWGE24MS2(config-vlan)# fixed 3,4
CWGE24MS2(config-vlan)# tagged 4
CWGE24MS2(config-vlan)# exit
CWGE24MS2(config)# vlan 700
CWGE24MS2(config-vlan)# fixed 3,4