beautypg.com

H3C Technologies H3C S7500E Series Switches User Manual

Page 283

background image

20-14

[ProviderB-GigabitEthernet2/0/1] port link-type trunk

[ProviderB-GigabitEthernet2/0/1] port trunk permit vlan 1000 2000 3000

# To enable interoperability with the third-party devices in the public network, set the TPID of the
service provider network VLAN tags to 0x8200. Therefore, the port tags the received frames with the
outer VLAN tag whose TPID is 0x8200.

[ProviderB-GigabitEthernet2/0/1] qinq ethernet-type service-tag 8200

[ProviderB-GigabitEthernet2/0/1] quit

Configuration on GigabitEthernet 2/0/2

# Configure VLAN 2000 as the default VLAN.

[ProviderB] interface GigabitEthernet 2/0/2

[ProviderB-GigabitEthernet2/0/2] port access vlan 2000

# Enable basic QinQ. Tag frames from VLAN 20 with the outer VLAN tag 2000.

[ProviderB-GigabitEthernet2/0/2] qinq enable

[ProviderB-GigabitEthernet2/0/2] quit

Configuration on GigabitEthernet 2/0/3

# Configure VLAN 3000 as the default VLAN.

[ProviderB] interface GigabitEthernet 2/0/3

[ProviderB-GigabitEthernet2/0/3] port access vlan 3000

# Enable basic QinQ to tag frames of all customer VLANs with the outer VLAN tag 3000.

[ProviderB-GigabitEthernet2/0/3] qinq enable

3) Configuration on devices on the public network

As third-party devices are deployed between Provider A and Provider B, what we discuss here is only
the basic configuration that should be made on the devices. Configure that device connecting with
GigabitEthernet 2/0/3 of Provider A and the device connecting with GigabitEthernet 2/0/1 of Provider B
so that their corresponding ports send tagged frames of VLAN 1000, VLAN 2000 and VLAN 3000. The
configuration steps are omitted here.