Operation Manual – QinQ-BPDU Tunneling
H3C S3610&S5510 Series Ethernet Switches
Chapter 1 QinQ Configuration
1-8
# Configure Ethernet 1/0/1 as a Hybrid port that permits frames of VLAN 1000 and
VLAN 2000 to pass, and configure the port to remove the outer tag of the fames when
sending them out.
[ProviderA] interface ethernet 1/0/1
[ProviderA-Ethernet1/0/1] port link-type hybrid
[ProviderA-Ethernet1/0/1] port hybrid vlan 1000 2000 untagged
# Configure the port to tag frames from VLAN 10 with an outer tag with the VLAN ID of
1000.
[ProviderA-Ethernet1/0/1] qinq vid 1000
[ProviderA-Ethernet1/0/1-vid-1000] raw-vlan-id inbound 10
[ProviderA-Ethernet1/0/1-vid-1000] quit
# Configure the port to tag frames from VLAN 20 with an outer tag with the VLAN ID of
2000.
[ProviderA-Ethernet1/0/1] qinq vid 2000
[ProviderA-Ethernet1/0/1-vid-2000] raw-vlan-id inbound 20
[ProviderA-Ethernet1/0/1-vid-2000] quit
[ProviderA-Ethernet1/0/1] quit
z
Configuration on Ethernet 1/0/2
# Configure VLAN 1000 as the default VLAN of the port.
[ProviderA] interface ethernet 1/0/2
[ProviderA-Ethernet1/0/2] port access vlan 1000
# Enable basic QinQ so that the port tags frames from VLAN 10 with an outer tag with
the VLAN ID of 1000.
[ProviderA-Ethernet1/0/2] qinq enable
[ProviderA-Ethernet1/0/2] quit
z
Configuration on Ethernet 1/0/3.
# Configure Ethernet 1/0/3 as a trunk port, and permit frames of VLAN 1000 and VLAN
2000 to pass.
[ProviderA] interface ethernet 1/0/3
[ProviderA-Ethernet1/0/3] port link-type trunk
[ProviderA-Ethernet1/0/3] port trunk permit vlan 1000 2000
# To enable interoperability with the third-party devices in the public network, set the
TPID value to be used in the outer tag to 0x8200.
[ProviderA-Ethernet1/0/3] qinq ethernet-type 8200
2)
Configuration on Provider B
z
Configuration on Ethernet 1/0/1
# Configure Ethernet 1/0/1 as a trunk port, and permit frames of VLAN 1000 and VLAN
2000.
<ProviderB> system-view