SGS-6341-Series User Manual

Table Of Contents
20-84
20.3.3 Typical Applications of Selective Q-in-Q
Figure 20-5: Selective Q-in-Q application
1. Ethernet1/1 of Switch A provides public network access for PC users and Ethernet 1/2 of
Switch A provides public network access for IP phone users. PC users belong to VLAN 100
through VLAN 200, and IP phone users belong to VLAN 201 through VLAN 300. Ethernet 1/9
of Switch A is connected to the public network.
2. Ethernet1/1 and Ethernet1/2 of Switch B provide network access for PC users belonging to
VLAN 100 through VLAN 200 and IP phone users belonging to VLAN 201 through VLAN 300
respectively. Ethernet 1/9 is connected to the public network.
3. The public network permits packets of VLAN 1000 and VLAN 2000 to pass.
4. Enable the selective Q-in-Q on Ethernet1/1 and Ethernet1/2 ports of Switch A and Switch B
respectively. Packets of VLAN 100 through VLAN 200 are tagged with the tag of VLAN 1000
as the outer VLAN tag on Ethernet1/1, and packets of VLAN 201 through VLAN 300 are
tagged with the tag of VLAN 2000 as the outer VLAN tag on Ethernet1/2.
Steps of configuration:
# Create VLAN 1000 and VLAN 2000 on SwitchA.
switch(config)#vlan 1000;2000
# Configure Ethernet1/1 as a hybrid port and configure it to remove VLAN tags when
forwarding packets of VLAN 1000.
User’s Manual of SGS-6341 series