138 CHAPTER 14: QINQ CONFIGURATION
Network diagram
Figure 41 Network diagram for QinQ configuration
Configuration procedure
n
With this configuration, the user must allow the QinQ packets to pass between
the devices of the service providers.
1 Configuration on Provider A
# Enter system view.
<ProviderA> system-view
■ Configuration on GigabitEthernet 1/0/1
# Configure GigabitEthernet 1/0/1 as a Hybrid port that permits frames of VLAN
1000 and VLAN 2000 to pass, and configure the port to remove the outer tag of
the frames when sending them out.
[ProviderA] interface GigabitEthernet 1/0/1
[ProviderA-GigabitEthernet1/0/1] port link-type hybrid
[ProviderA-GigabitEthernet1/0/1] port hybrid vlan 1000 2000 untagged
# Configure the port to tag frames from VLAN 10 with an outer tag with the
VLAN ID of 1000.
[ProviderA-GigabitEthernet1/0/1] qinq vid 1000
[ProviderA-GigabitEthernet1/0/1-vid-1000] raw-vlan-id inbound 10
[ProviderA-GigabitEthernet1/0/1-vid-1000] quit
Public Network
VLAN1000,VLAN2000
TPID=0x8200
Customer A
Customer B Customer C
Provider A Provider B
GE1/0/1
Hybrid
GE1/0/2
Access
GE1/0/3
Trunk
GE1/0/1
Trunk
GE1/0/2
Access