![SNR S2940-8G-v2 Configuration Manual Download Page 135](http://html1.mh-extra.com/html/snr/s2940-8g-v2/s2940-8g-v2_configuration-manual_1310630135.webp)
SNR S2940-8G-v2 Switch Configuration Guide
Selective QinQ Configuration
VLAN 100-200
VLAN 201-300
Switch B
Switch A
VLAN 100-200
VLAN 201-300
SP
VLAN1000/2000
E1/1
E1/2
E1/9
E1/9
E1/1
E1/2
Figure 18.1: Selective QinQ application
18.3
Typical Applications of Selective QinQ
1. Ethernet1/1 of SwitchA provides public network access for PC users and Ethernet 1/2 of
SwitchA 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 SwitchA is connected to the public network.
2. Ethernet1/1 and Ethernet1/2 of SwitchB 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 QinQ 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.
switch(config-if-ethernet1/1)#switchport hybrid allowed vlan 1000 untag
# Configure the mapping rules for selective QinQ on Ehernet1/1 to
# insert VLAN 1000 tag as the outer VLAN tag in packets with the tags
# of VLAN 100 through VLAN 200.
switch(config-if-ethernet1/1)#dot1q-tunnel selective s-vlan 1000 c-vlan 100-200
# Enable selective QinQ on Ethernet1/1.
135
Summary of Contents for S2940-8G-v2
Page 11: ...SNR S2940 8G v2 Switch Configuration Guide Part I Basic Management Configuration 11...
Page 46: ...SNR S2940 8G v2 Switch Configuration Guide Part II Port Configuration 46...
Page 123: ...SNR S2940 8G v2 Switch Configuration Guide Part III VLAN and MAC Table Configuration 123...
Page 164: ...SNR S2940 8G v2 Switch Configuration Guide Part IV MSTP Configuration 164...
Page 198: ...SNR S2940 8G v2 Switch Configuration Guide Part VI L3 Forward and ARP Configuration 198...
Page 218: ...SNR S2940 8G v2 Switch Configuration Guide Part VII DHCP Configuration 218...
Page 257: ...SNR S2940 8G v2 Switch Configuration Guide Part VIII Multicast Protocol 257...
Page 278: ...SNR S2940 8G v2 Switch Configuration Guide Part IX Security Function Configuration 278...
Page 376: ...SNR S2940 8G v2 Switch Configuration Guide Part X Reliability Configuration 376...
Page 395: ...SNR S2940 8G v2 Switch Configuration Guide Part XI Flow Monitor Configuration 395...
Page 403: ...SNR S2940 8G v2 Switch Configuration Guide Part XII Network Time Management Configuration 403...
Page 411: ...SNR S2940 8G v2 Switch Configuration Guide Part XIII Debugging and Diagnosis 411...