R3303-HP HSR6800 Routers Layer 2 - LAN Switching Configuration Guide

150
On third-party devices between PE 1 and PE 2, configure the port that connects to PE 1 and the
port that connects to PE 2 to allow tagged frames of VLAN 100 and VLAN 200 to pass through.
(Details not shown.)
Selective QinQ configuration example
Network requirements
As shown in 错误!未找到引用源。, configure selective QinQ to meet the following requirements:
VLAN 10 of CE A and CE B can intercommunicate across VLAN 1000 in the service provider
network.
VLAN 20 of CE A and CE C can intercommunicate across VLAN 2000 in the service provider
network.
Frames from the VLANs other than VLAN 10 and VLAN 20 of CE A can be forwarded to CE D
across VLAN 3000 in the service provider network.
Set the SVLAN TPID to 0x8200 on the service provider-side ports of PE A and PE B, because they
are connected through third-party devices that use a TPID value of 0x8200.
Figure 54 Network diagram
Configuration procedure
This example assumes that the devices in the service provider network have been configured to allow
QinQ packets to pass through.
1. Configure on PE A:
a. Configure GigabitEthernet 2/0/1:
# Configure the port as a hybrid port to permit frames from VLAN 1000, VLAN 2000, and
VLAN 3000 to pass through untagged.
<PEA> system-view
[PEA] interface gigabitethernet 2/0/1
[PEA-GigabitEthernet2/0/1] port link-type hybrid
[PEA-GigabitEthernet2/0/1] port hybrid vlan 1000 2000 3000 untagged
# Configure VLAN 3000 as the PVID for the port.