Selective Qinq Configuration Example - H3C S5120-SI series Configuration Manual

Hide thumbs Also See for S5120-SI series:
Table of Contents

Advertisement

Configure GigabitEthernet 1/0/3.
# Configure VLAN 200 as the default VLAN of GigabitEthernet 1/0/3.
[PE1] interface gigabitethernet 1/0/3
[PE1-GigabitEthernet1/0/3] port access vlan 200
# Enable basic QinQ on the port.
[PE1-GigabitEthernet1/0/3] qinq enable
[PE1-GigabitEthernet1/0/3] quit
2.
Configuration on PE 2
Configure GigabitEthernet 1/0/1.
# Configure VLAN 200 as the default VLAN of GigabitEthernet 1/0/1.
<PE2> system-view
[PE2] interface gigabitethernet 1/0/1
[PE2-GigabitEthernet1/0/1] port access vlan 200
# Enable basic QinQ on the port.
[PE2-GigabitEthernet1/0/1] qinq enable
[PE2-GigabitEthernet1/0/1] quit
Configure GigabitEthernet 1/0/2.
# Configure GigabitEthernet 1/0/2 as a trunk port and assign it to VLAN 100 and VLAN 200.
[PE2] interface gigabitethernet 1/0/2
[PE2-GigabitEthernet1/0/2] port link-type trunk
[PE2-GigabitEthernet1/0/2] port trunk permit vlan 100 200
# Set the TPID value in the VLAN tag to 0x8200 on the port.
[PE2-GigabitEthernet1/0/2] qinq ethernet-type 8200
[PE2-GigabitEthernet1/0/2] quit
Configure GigabitEthernet 1/0/3.
# Configure VLAN 100 as the default VLAN of GigabitEthernet 1/0/3.
[PE2] interface gigabitethernet 1/0/3
[PE2-GigabitEthernet1/0/3] port access vlan 100
# Enable basic QinQ on the port.
[PE2-GigabitEthernet1/0/3] qinq enable
[PE2-GigabitEthernet1/0/3] quit
3.
Configuration on third-party devices
On the third-party devices between PE 1 and PE 2, configure the port connecting to PE 1 and that
connecting to PE 2 to allow tagged frames of VLAN 100 and VLAN 200 to pass through.

Selective QinQ 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 use CVLAN 10 and CVLAN 20 to transmit voice traffic and data traffic separately.
PE 1 and PE 2 are edge switches on the service provider network and are connected through
third-party devices with a TPID value of 0x8200.
Figure
48:
151

Advertisement

Table of Contents
loading

Table of Contents