[SwitchB-Etherent1/0/12] port hybrid pvid
[SwitchB-Etherent1/0/12] port hybrid vlan 12 1000 untagged
[SwitchB-Ethernet1/0/12] quit
# Configure Ethernet 1/0/13 as a hybrid port and configure VLAN 13 as its default VLAN . Configure
Ethernet 1/0/13 to remove VLAN tags when forwarding packets of VLAN 13 and VLAN 1200.
[SwitchB] interface Ethernet 1/0/13
[SwitchB-Etherent1/0/13] port link-type hybrid
[SwitchB-Etherent1/0/13] port hybrid pvid vlan 13
[SwitchB-Etherent1/0/13] port hybrid vlan 13 1200 untagged
After the above configuration, Switch B can forward packets of VLAN 1000 and VLAN 1200 to the
corresponding servers through Ethernet 1/0/12 and Ethernet 1/0/13 respectively.
To make the packets from the servers be transmitted to the clients in the same way, you need to
configure the selective QinQ feature on SwitchB. The configuration on Switch B is similar to that on
Switch A and is thus omitted.
A selective QinQ-enabled device tags a user packet with an outer VLAN tag regardless of the
VLAN tag of the user packet, so there is no need to configure user VLANs on the device.
Make sure the packets of the default VLAN of a selective QinQ-enabled port are permitted on both
the local port and the port connecting to the public network.
vlan 12
2-6