193
VLAN transparent transmission configuration example
Network requirements
As shown in
:
•
The two branches of a company, Site 1 and Site 2, are connected through the service provider
network and uses VLANs 10 through 50.
•
PE 1 and PE 2 are edge devices on the service provider network and are connected through
third-party devices with a TPID value of 0x8200.
Configure the edge and third-party devices to allow frames of VLANs 10 through 50 to be transmitted
between the branches of the company via the service provider network with no outer VLAN tags added.
Figure 65
Network diagram
Configuration procedure
IMPORTANT:
Make sure that you have configured the switches in the service provider network to allow QinQ packets to
pass through.
1.
Configure PE 1:
{
Configure Ethernet 1/0/1:
# Configure Ethernet 1/0/1 as a trunk port and assign it to VLANs 10 through 50.
<PE1> system-view
[PE1] interface ethernet 1/0/1
[PE1-Ethernet1/0/1] port link-type trunk
[PE1-Ethernet1/0/1] port trunk permit vlan 10 to 50
# Enable basic QinQ on the port.
[PE1-Ethernet1/0/1] qinq enable
# Configure the port to transparently transmit frames from VLANs 10 through 50.
[PE1-Ethernet1/0/1] qinq transparent-vlan 10 to 50
[PE1-Ethernet1/0/1] quit
{
Configure Ethernet 1/0/2:
# Configure Ethernet 1/0/2 as a trunk port and assign it to VLANs 10 through 50.