201
[PE2-GigabitEthernet1/0/3] quit
3.
Configure the devices between PE 1 and PE 2:
# Set the MTU to a minimum of 1504 bytes for each port on the path of QinQ frames. (Details
not shown.)
# Configure all the ports on the forwarding path to allow frames from VLANs 100 and 200 to
pass through without removing the VLAN tag. (Details not shown.)
VLAN transparent transmission configuration example
Network requirements
As shown in
:
•
The service provider assigns VLAN 100 to a company's VLANs 10 through 50.
•
VLAN 3000 is the dedicated VLAN of the company on the service provider network.
Configure QinQ on PE 1 and PE 2 to provide Layer 2 connectivity for CVLANs 10 through 50 over the
service provider network.
Configure VLAN transparent transmission for VLAN 3000 on PE 1 and PE 2 to enable the hosts in
VLAN 3000 to communicate without using an SVLAN.
Figure 58 Network diagram
Configuration procedure
1.
Configure PE 1:
# Configure GigabitEthernet 1/0/1 as a trunk port, and assign it to VLANs 100 and 3000.
<PE1> system-view
[PE1] interface gigabitethernet 1/0/1
[PE1-GigabitEthernet1/0/1] port link-type trunk
[PE1-GigabitEthernet1/0/1] port trunk permit vlan 100 3000
# Configure VLAN 100 as the PVID of GigabitEthernet 1/0/1.
[PE1-GigabitEthernet1/0/1] port trunk pvid vlan 100
# Enable QinQ on GigabitEthernet 1/0/1.
[PE1-GigabitEthernet1/0/1] qinq enable
# Configure GigabitEthernet 1/0/1 to transparently transmit frames from VLAN 3000.
[PE1-GigabitEthernet1/0/1] qinq transparent-vlan 3000
[PE1-GigabitEthernet1/0/1] quit
# Configure GigabitEthernet 1/0/2 as a trunk port, and assign it to VLANs 100 and 3000.
CE 1
PE 1
Service provider network
VLANs 100 and 3000
PE 2
GE1/0/1
GE1/0/2
GE1/0/1
GE1/0/2
CE 2
VLANs 10 to 50, 3000
VLANs 10 to 50, 3000
Site 1
Site 2