Configuring pe 2 – H3C Technologies H3C S12500-X Series Switches User Manual
Page 149

138
# Enable QinQ on the port.
[PE1-Ten-GigabitEthernet1/0/1] qinq enable
# Configure the port to transparently transmit frames from VLAN 3000.
[PE1-Ten-GigabitEthernet1/0/1] qinq transparent-vlan 3000
[PE1-Ten-GigabitEthernet1/0/1] quit
2.
Configure Ten-GigabitEthernet 1/0/2 (the service provider-side port) as a trunk port, and assign
it to VLAN 100 and VLAN 3000.
[PE1] interface ten-gigabitethernet 1/0/2
[PE1-Ten-GigabitEthernet1/0/2] port link-type trunk
[PE1-Ten-GigabitEthernet1/0/2] port trunk permit vlan 100 3000
[PE1-Ten-GigabitEthernet1/0/2] quit
Configuring PE 2
1.
Configure Ten-GigabitEthernet 1/0/1 (the customer-side port):
# Configure Ten-GigabitEthernet 1/0/1 as a trunk port, and assign it to VLANs10 through 50,
VLAN 100, and VLAN 3000.
[PE2] interface ten-gigabitethernet 1/0/1
[PE2-Ten-GigabitEthernet1/0/1] port link-type trunk
[PE2-Ten-GigabitEthernet1/0/1] port trunk permit vlan 100 3000 10 to 50
# Set the PVID to 100 on Ten-GigabitEthernet 1/0/1.
[PE1-Ten-GigabitEthernet1/0/1] port trunk pvid vlan 100
# Enable QinQ on the port.
[PE2-Ten-GigabitEthernet1/0/1] qinq enable
# Configure the port to transparently transmit frames from VLAN 3000.
[PE2-Ten-GigabitEthernet1/0/1] qinq transparent-vlan 3000
[PE2-Ten-GigabitEthernet1/0/1] quit
2.
Configure Ten-GigabitEthernet 1/0/2 (the service provider-side port) as a trunk port, and assign
it to VLAN 100 and VLAN 3000.
[PE2] interface ten-gigabitethernet 1/0/2
[PE2-Ten-GigabitEthernet1/0/2] port link-type trunk
[PE2-Ten-GigabitEthernet1/0/2] port trunk permit vlan 100 3000
Configuring devices in the service provider network
All ports on the path between PE 1 and PE 2 must allow frames from VLAN 100 and VLAN 3000 to pass
through without removing the VLAN tag. (Details not shown.)