3Com Switch 8800 Advanced Software V5 Configuration Guide

QinQ Configuration Examples 185
# Configure Ethernet 1/1/4 as a trunk port and configure the port to permit
frames of VLAN 10.
[Sysname] interface ethernet 1/1/4
[Sysname-Ethernet1/1/4] port link-type trunk
[Sysname-Ethernet1/1/4] port trunk permit vlan 10
# Set the TPID value of Ethernet 1/1/4 to 0x8200.
[Sysname-Ethernet1/1/4] qinq ethernet-type 8200
2 Configuration on Provider B
# Enter system view.
<Sysname> system-view
[Sysname] vlan 10
[Sysname-vlan10] quit
# Enter Ethernet 1/1/2 port view.
[Sysname] interface ethernet 1/1/2
[Sysname-Ethernet1/1/2] port access vlan 10
# Enable the basic QinQ function on Ethernet 1/1/2.
[Sysname-Ethernet1/1/2] qinq enable
[Sysname-Ethernet1/1/2] quit
# Configure Ethernet 1/1/4 as a trunk port and configure the port to permit
frames of VLAN 10.
[Sysname] interface ethernet 1/1/4
[Sysname-Ethernet1/1/4] port link-type trunk
[Sysname-Ethernet1/1/4] port trunk permit vlan 10
# Set the TPID value of Ethernet 1/1/4 to 0x8200.
[Sysname-Ethernet1/1/4] qinq ethernet-type 8200
After the above configuration, the frames of VLAN 40 on Customer A are
double-tagged when they are transmitted between the trunk ports of Provider A
and Provide B.