H3C Technologies H3C S3100 Series Switches User Manual
Page 850

2-6
[SwitchB-Etherent1/0/12] port hybrid pvid vlan 12
[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.
z
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.
z
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.