H3C Technologies H3C WX3000 Series Unified Switches User Manual
Page 577
57-4
Figure 57-2
Network diagram for selective QinQ configuration
Public Network
VLAN1000/VLAN1200
PC User
VLAN100~108
IP Phone User
VLAN200~230
GE1/0/3
GE1/0/5
For PC User
VLAN100~108
For IP Phone
VLAN200~230
SwitchA
SwitchB
GE1/0/11
GE1/0/12
GE1/0/13
Configuration procedure
z
Configure Switch A.
# Create VLAN 1000, VLAN 1200 and VLAN 5 (the default VLAN of GigabitEthernet 1/0/3) on SwitchA.
[SwitchA] vlan 1000
[SwitchA-vlan1000] quit
[SwitchA] vlan 1200
[SwitchA-vlan1200] quit
[SwitchA] vlan 5
[SwitchA-vlan5] quit
# Configure GigabitEthernet 1/0/5 as a hybrid port and configure VLAN 5 as its default VLAN. Configure
GigabitEthernet 1/0/5 not to remove VLAN tags when forwarding packets of VLAN 5, VLAN 1000, and
VLAN 1200.
[SwitchA] interface GigabitEthernet 1/0/5
[SwitchA-GigabitEthernet1/0/5] port link-type hybrid
[SwitchA-GigabitEthernet1/0/5] port hybrid pvid vlan 5
[SwitchA-GigabitEthernet1/0/5] port hybrid vlan 5 1000 1200 tagged
[SwitchA-GigabitEthernet1/0/5] quit
# Configure GigabitEthernet 1/0/3 as a hybrid port and configure GigabitEthernet 1/0/3 to remove VLAN
tags when forwarding packets of VLAN 5, VLAN 1000, and VLAN 1200.
[SwitchA] interface GigabitEthernet 1/0/3
[SwitchA-GigabitEthernet1/0/3] port link-type hybrid
[SwitchA-GigabitEthernet1/0/3] port hybrid vlan 5 1000 1200 untagged
# Enable the VLAN-VPN feature on GigabitEthernet 1/0/3.