H3C Technologies H3C WX6000 Series Access Controllers User Manual
Page 106
12-7
[ProviderA-GigabitEthernet0/0/1] qinq vid 1000
[ProviderA-GigabitEthernet0/0/1-vid-1000] raw-vlan-id inbound 10
[ProviderA-GigabitEthernet0/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-GigabitEthernet0/0/1] qinq vid 2000
[ProviderA-GigabitEthernet0/0/1-vid-2000] raw-vlan-id inbound 20
[ProviderA-GigabitEthernet0/0/1-vid-2000] quit
[ProviderA-GigabitEthernet0/0/1] quit
z
Configuration on GigabitEthernet 0/0/2
# Configure VLAN 1000 as the default VLAN of the port.
[ProviderA] interface GigabitEthernet 0/0/2
[ProviderA-GigabitEthernet0/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-GigabitEthernet0/0/2] qinq enable
[ProviderA-GigabitEthernet0/0/2] quit
z
Configuration on GigabitEthernet 0/0/3.
# Configure GigabitEthernet 0/0/3 as a trunk port, and permit frames of VLAN 1000 and VLAN 2000 to
pass.
[ProviderA] interface GigabitEthernet 0/0/3
[ProviderA-GigabitEthernet0/0/3] port link-type trunk
[ProviderA-GigabitEthernet0/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
carried in VLAN Tags to 0x8200.
[ProviderA-GigabitEthernet0/0/3] quit
[ProviderA] qinq ethernet-type customer-tag 8200
2) Configuration on Provider B
z
Configuration on GigabitEthernet 0/0/1
# Configure GigabitEthernet 0/0/1 as a trunk port, and permit frames of VLAN 1000 and VLAN 2000.
[ProviderB] interface GigabitEthernet 0/0/1
[ProviderB-GigabitEthernet0/0/1] port link-type trunk
[ProviderB-GigabitEthernet0/0/1] port trunk permit vlan 1000 2000
# To enable interoperability with the third-party devices in the public network, set the TPID value to be
carried in VLAN Tags to 0x8200.
[ProviderB-GigabitEthernet0/0/1] quit
[ProviderB] qinq ethernet-type customer-tag 8200
z
Configuration on GigabitEthernet 0/0/2
# Configure VLAN 2000 as the default VLAN of the port.
[ProviderB] interface GigabitEthernet 0/0/2
[ProviderB-GigabitEthernet0/0/2] port access vlan 2000
# Enable basic QinQ so as to tag frames from VLAN 20 with an outer tag with the VLAN ID of 2000.
[ProviderB-GigabitEthernet0/0/2] qinq enable
3) Configuration on devices on the public network
As third-party devices are deployed between Provider A and Provider B, what we discuss here is only
the basic configuration that should be made on the devices. Configure that device connecting with