R3102-R3103-HP 6600/HSR6600 Routers Layer 2 - LAN Switching Configuration Guide

152
Figure 52 Network diagram
Configuration procedure
IMPORTANT:
Make sure that you have configured devices in the service provider network to allow QinQ packets to pass
through.
1. Configure PE 1:
a. Configure GigabitEthernet 4/0/1:
# Configure GigabitEthernet 4/0/1 as a trunk port and assign it to VLAN 100 and VLANs 10
through 70.
<PE1> system-view
[PE1] interface GigabitEthernet 4/0/1
[PE1-GigabitEthernet4/0/1] port link-type trunk
[PE1-GigabitEthernet4/0/1] port trunk permit vlan 100 10 to 70
# Configure VLAN 100 as the PVID for the port.
[PE1-GigabitEthernet4/0/1] port trunk pvid vlan 100
# Enable basic QinQ on the port.
[PE1-GigabitEthernet4/0/1] qinq enable
[PE1-GigabitEthernet4/0/1] quit
b. Configure GigabitEthernet 4/0/2:
# Configure GigabitEthernet 4/0/2 as a trunk port and assign it to VLAN 100 and VLAN 200.
[PE1] interface GigabitEthernet 4/0/2
[PE1-GigabitEthernet4/0/2] port link-type trunk
[PE1-GigabitEthernet4/0/2] port trunk permit vlan 100 200
# Set the TPID value in the outer VLAN tag to 0x8200 on the port.
[PE1-GigabitEthernet4/0/2] qinq ethernet-type service-tag 8200
[PE1-GigabitEthernet4/0/2] quit
CE 1
Company A
Site 1
PE 1
Public network
VLANs 100 and 200
TPID = 0x 8200
PE 2
CE 2
10 to 70
VLANs
30 to 90
Site 3
Company B
CE 3
Company B
Site 4
30 to 90
Site 2
Company A
10 to 70
CE 4
GE4/0/1
GE4/0/2
GE4/0/3
GE4/0/1
GE4/0/2
GE4/0/3
VLANs
VLANs VLANs