Adjusting TPID Values
for QinQ Packets
Configuration
Prerequisites
Configuration Tasks
TPID Value
Configuration Example
# 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
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.
■
Table 816 Adjust TPID values for QinQ packets
Configuration step
Enter system view
Set a TPID value for the port
Enter Ethernet port view
Set the port to be a
VLAN-VPN uplink port.
Display VLAN VPN
configuration information
about all ports in the system
c
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.
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.
Adjusting TPID Values for QinQ Packets
Command
system-view
vlan-vpn tpid value
interface { interface-type
interface-number |
interface-name }
vlan-vpn uplink enable
display port vlan-vpn
853
Description
-
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.
-
By default, a port is not a
VLAN-VPN uplink port.
Information about the current
TPID value, VLAN-VPN ports
and VLAN-VPN uplink ports is
display.