162
[PE2-qospolicy-qinq] quit
# Apply QoS policy
qinq
to the incoming traffic globally.
[PE2] qos apply policy qinq global inbound
# Enable selective QinQ on the port.
[PE2-Ethernet1/0/1] qinq enable downlink
{
Configure Ethernet 1/0/2:
# Configure Ethernet 1/0/2 as a trunk port and assign it to VLAN 100 and VLAN 200.
[PE2] interface ethernet 1/0/2
[PE2-Ethernet1/0/2] port link-type trunk
[PE2-Ethernet1/0/2] port trunk permit vlan 100 200
# Set the TPID in the outer VLAN tags to 0x8200.
[PE2-Ethernet1/0/2] quit
[PE2] qinq ethernet-type 8200
3.
On the 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.