Comprehensive selective qinq configuration example, Network requirements, Configuration procedure – H3C Technologies H3C S10500 Series Switches User Manual

Page 199

Advertising
background image

188

Comprehensive selective QinQ configuration example

Network requirements

As shown in

Figure 62

:

Company A uses CVLAN 10 and CVLAN 20 to transmit voice traffic and data traffic separately,
and Company B uses CVLAN 30 and CVLAN 40 to transmit voice traffic and data traffic separately.

The services of the two companies are integrated together.

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 the voice traffic and data traffic to be
transmitted between the two companies via SVLAN 100 SVLAN 200 separately.

Figure 62 Network diagram for comprehensive selective QinQ configuration

Configuration procedure

NOTE:

Be sure that you have configured the switches in the service provider network to allow QinQ packets to
pass through.

1.

Configure PE 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.

<PE1> 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 with CVLAN 10.

[PE1] traffic classifier A10

Advertising