H3C S7500 Series Ethernet Switches Operation Manual

Operation Manual – QinQ
H3C S7500 Series Ethernet Switches Chapter 1
QinQ Configuration
1-3
1.3 Displaying QinQ Configuration
To do… Use the command… Remarks
Display the QinQ
configuration of all the
ports
display port vlan-vpn
This command can be
executed in any view.
1.4 QinQ Configuration Example
I. Network Requirements
z Switch A, Switch B, and Switch C are S7500 switches.
z Two user networks are connected to the Ethernet 2/0/1 ports of Switch A and
Switch C respectively.
z Switch B only permits the packets of VLAN 10.
z It is required that packets of the VLANs other than VLAN 10 be exchanged
between the networks connected to Switch A and Switch C.
II. Network Diagram
Eth2/0/1 (access VLAN
Eth2/0/2 (trunk permit
Eth2/0/3 (trunk permit
Eth2/0/4 (trunk permit
Eth2/0/1 (trunk permit
Eth2/0/2 (access VLAN
SwitchA
SwitchB
SwitchC
10, VLAN VPN port)
VLAN 10)
VLAN 10)
VLAN 10)
VLAN 10)
10, VLAN VPN port)
n
Figure 1-3 Network diagram for QinQ configuratio
III. Configuration Procedure
1) Configure Switch A and Switch C.
As the configurations performed on Switch A and Switch C are the same,
configurations on Switch C are omitted.
# Configure Ethernet 2/0/2 as a trunk port. Add the port to VLAN 10.
<SwitchA> system-view
[SwitchA] vlan 10