3com 8807 User Guide

Page of 883
Adjusting TPID Values for QinQ Packets
853
# Configure the uplink port GigabitEthernet 4/1/1 to a trunk port and allow the 
packets of VLAN 1000 and VLAN 600 to pass the uplink port.
[Switch_A] intface GigabitEthernet4/1/1
 
[Switch_A-GigabitEthernet4/1/1] port link-type trunk 
[Switch_A-GigabitEthernet4/1/1] port trunk permit vlan 600 1000
Adjusting TPID Values 
for QinQ Packets
Configuration 
Prerequisites
As VLAN-VPN uplink ports often works with the VLAN VPN ports, make sure that:
GVRP, STP or 802.1x is not enabled on the port.
VLAN VPN is not enabled on the port.
Configuration Tasks
CAUTION:
At present, 3C17526 card does not support the vlan-vpn uplink enable 
command.
The vlan-vpn uplink enable and the vlan-vpn enable command are mutual 
exclusive. That is, if you execute the vlan-vpn enable command on a port, 
you will fail to execute the vlan-vpn uplink enable command on the same 
port; if you execute the vlan-vpn uplink enable command on a port, you will 
fail to execute the vlan-vpn enable command on the same port.
TPID Value 
Configuration Example
Network requirements
Switch A and Switch C are Switch 8800 Family series switches. Switch B is a 
switch produced by other vendor. It uses TPID value of 0x9100.
Two networks are connected to the GigabitEthernet2/1/1 ports of Switch A 
and Switch C respectively.
Table 816   Adjust TPID values for QinQ packets
Configuration step 
Command 
Description 
Enter system view 
system-view 
Set a TPID value for the port 
vlan-vpn tpid value 
The value argument ranges 
from 1 to 0xFFFF and defaults 
to 0x8100.
Do not set the TPID value to a 
value that causes conflicts, 
such as that of known 
protocol type. 
Enter Ethernet port view 
interface { interface-type 
interface-number | 
interface-name
 } 
Set the port to be a 
VLAN-VPN uplink port. 
vlan-vpn uplink enable 
By default, a port is not a 
VLAN-VPN uplink port. 
Display VLAN VPN 
configuration information 
about all ports in the system 
display port vlan-vpn 
Information about the current 
TPID value, VLAN-VPN ports 
and VLAN-VPN uplink ports is 
display.