H3C S3100 8C SI Operation Manual page 831

S3100 series ethernet switches
Table of Contents

Advertisement

Operation Manual – VLAN-VPN
H3C S3100 Series Ethernet Switches
[SwitchB-Etherent1/0/11] port link-type hybrid
[SwitchB-Etherent1/0/11] port hybrid vlan 12 13 1000 1200 tagged
# Configure Ethernet1/0/12 as a hybrid port and configure VLAN 12 as its default VLAN .
Configure Ethernet 1/0/12 to remove VLAN tags when forwarding packets of VLAN 12
and VLAN 1000.
[SwitchB] interface Ethernet 1/0/12
[SwitchB-Etherent1/0/12] port link-type hybrid
[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.
Note:
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.
Chapter 2 Selective QinQ Configuration
vlan 12
2-7

Advertisement

Table of Contents
loading

This manual is also suitable for:

S3100-si seriesS3100-ei series

Table of Contents