beautypg.com

Network diagram, Configuration procedure – H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 105

background image

12-6

z

Frames of VLAN 10 of Customer A and frames of VLAN 10 of Customer B can be forwarded to
each other through VLAN 1000 of the provider network;

z

Frames of VLAN 20 of Customer A and frames of VLAN 20 of Customer C can be forwarded to
each other through VLAN 2000 of the provider network.

Network diagram

Figure 12-3

Network diagram for QinQ configuration

GE0/0/1

Hybrid

GE0/0/2

Access

GE0/0/3

Trunk

GE0/0/1

Trunk

GE0/0/2

Access

VLAN 10,VLAN 20

VLAN 10

VLAN 20

Customer B

Customer A

Customer C

Provider B

Provider A

Public network

VLAN 1000, VLAN 2000

TPID=0x8200

Configuration procedure

With this configuration, the user can allow the QinQ packets to pass between the devices of the service
providers.

1) Configuration on Provider A

# Enter system view.

system-view

z

Configuration on GigabitEthernet 0/0/1

# Configure GigabitEthernet 0/0/1 as a Hybrid port that permits frames of VLAN 1000 and VLAN 2000 to
pass, and configure the port to remove the outer tag of the fames when sending them out.

[ProviderA] interface GigabitEthernet 0/0/1

[ProviderA-GigabitEthernet0/0/1] port link-type hybrid

[ProviderA-GigabitEthernet0/0/1] port hybrid vlan 1000 2000 untagged

# Configure the port to tag frames from VLAN 10 with an outer tag with the VLAN ID of 1000.