R3303-HP HSR6800 Routers Layer 2 - LAN Switching Configuration Guide
152
# Set the TPID value in the outer VLAN tag to 0x8200 on the port.
[PEA-GigabitEthernet2/0/3] qinq ethernet-type service-tag 8200
2. Configure PE B:
a. Configure GigabitEthernet 2/0/1:
# Configure the port as a trunk port to permit frames from VLAN 1000, VLAN 2000, and
VLAN 3000 to pass through.
<PEB> system-view
[PEB] interface gigabitethernet 2/0/1
[PEB-GigabitEthernet2/0/1] port link-type trunk
[PEB-GigabitEthernet2/0/1] port trunk permit vlan 1000 2000 3000
# Set the TPID value in the outer VLAN tag to 0x8200 on the port.
[PEB-GigabitEthernet2/0/1] qinq ethernet-type service-tag 8200
[PEB-GigabitEthernet2/0/1] quit
b. Configure GigabitEthernet 2/0/2:
# Configure VLAN 2000 as the PVID for the port.
[PEB] interface gigabitethernet 2/0/2
[PEB-GigabitEthernet2/0/2] port access vlan 2000
# Enable basic QinQ on the port.
[PEB-GigabitEthernet2/0/2] qinq enable
[PEB-GigabitEthernet2/0/2] quit
c. Configure GigabitEthernet 2/0/3:
# Configure VLAN 3000 as the PVID for the port.
[PEB] interface gigabitethernet 2/0/3
[PEB-GigabitEthernet2/0/3] port access vlan 3000
# Enable basic QinQ on the port.
[PEB-GigabitEthernet2/0/3] qinq enable
3. Configure devices on the public network:
Third-party devices are deployed between PE A and PE B. This section describes only the basic
configuration required on the routers. Configure the device connecting to GigabitEthernet 2/0/3
of PE A and the device connecting to GigabitEthernet 2/0/1 of PE B so that their ports send
tagged frames of VLAN 1000, VLAN 2000, and VLAN 3000. (Details not shown.)
VLAN transparent transmission configuration example
Network requirements
As shown in 错误!未找到引用源。, configure transparent transmission on PE 1 and PE 2 for traffic
between Site 1 and Site 2 in VLANs 10 to 50 to pass through with no outer VLAN tag added.
Set the SVLAN TPID to 0x8200 on the service provider-side ports of PE 1 and PE 2, because they are
connected through third-party devices that use a TPID value of 0x8200.