Quidway S3500-EA Series Operation Manual - page 7
Operation Manual - QinQ-BPDU Tunnel
Quidway S3500-EA Series Ethernet Switches
Chapter 1 QinQ Configuration
Huawei Technologies Proprietary
1-6
III. Configuration procedure
Note:
With this configuration, the user must allow the QinQ packets to pass between the
devices of the service providers.
1)
Configuration on Provider 1
# Enter system view
# Configure Ethernet1/0/1 as a hybrid port, and permit the frames of VLAN 10, VLAN 20,
VLAN 1000 and VLAN 2000. Remove the tags of the frames of VLAN 1000 and VLAN
2000 before forwarding the frames. Keep the tags of the frames of VLAN 10 and VLAN
20 untouched.
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] port link-type hybrid
[Sysname-Ethernet1/0/1] port hybrid vlan 10 20 tagged
[Sysname-Ethernet1/0/1] port hybrid vlan 1000 2000 untagged
# Add the tag of VLAN 1000 as the outer tag for the frames of VLAN 10.
[Sysname-Ethernet1/0/1] qinq vid 1000
[Sysname-Ethernet1/0/1-vid-1000] raw-vlan-id inbound 10
[Sysname-Ethernet1/0/1-vid-1000] quit
# Add the tag of VLAN 2000 as the outer tag for the frames of VLAN 20.
[Sysname-Ethernet1/0/1] qinq vid 2000
[Sysname-Ethernet1/0/1-vid-2000] raw-vlan-id inbound 20
[Sysname-Ethernet1/0/1-vid-2000] quit
[Sysname-Ethernet1/0/1] quit
# Configure Ethernet 1/0/2 as a trunk port, and permit the frames of VLAN 1000 and
VLAN 2000.
[Sysname] interface Ethernet 1/0/2
[Sysname-Ethernet1/0/2] port link-type trunk
[Sysname-Ethernet1/0/2] port trunk permit vlan 1000 2000
# Set the TPID value of Ethernet1/0/2 to 0x8200.
[Sysname-Ethernet1/0/2] qinq ethernet-type 8200
2)
Configuration on Provider 2
# Configure Ethernet 1/0/3 as a trunk port, and permit the frames of VLAN 1000 and
VLAN 2000.