Setting Simple Selective Qinq Configuration - HP A5830 Configuration Manual

Layer 2 lan switching
Hide thumbs Also See for A5830:
Table of Contents

Setting simple selective QinQ configuration

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 devices on the service provider network and are connected through third-
party devices with a TPID value of 0x8200.
Configure the edge and third-party devices to allow frames from CVLAN 10 to be transmitted
between the branches via SVLAN 100 and frames from CVLAN 20 to be transmitted between the
branches via SVLAN 200.
Figure 53 Network diagram for simple selective QinQ configuration
Site 1
VLAN 10
Configuration procedure
Make sure that you have configured the switches in the service provider network to allow QinQ packets
to pass through.
Configure PE 1.
1.
Configure GigabitEthernet 1/0/1.
# Configure GigabitEthernet 1/0/1 as a hybrid port to permit frames of VLAN 100 and VLAN 200 to
pass through untagged.
system-view
[PE1] interface gigabitethernet 1/0/1
[PE1-GigabitEthernet1/0/1] port link-type hybrid
[PE1-GigabitEthernet1/0/1] port hybrid vlan 100 200 untagged
[PE1-GigabitEthernet1/0/1] quit
# Create class A10 and configure the class to match frames from Site 1 with CVLAN 10.
[PE1] traffic classifier A10
[PE1-classifier-A10] if-match customer-vlan-id 10
[PE1-classifier-A10] quit
Figure
53:
PE 1
GE1/0/2
GE1/0/1
CE 1
VLAN 20
GE1/0/2
VLANs 100, 200
TPID = 0x8200
Public network
VLAN 10
157
PE 2
GE1/0/1
Site 2
CE 2
VLAN 20
Table of Contents
loading

Table of Contents