Administrator Guide

Layer 2 Switching Commands 822
User Guidelines
This command globally defines additional TPIDs for use by the system for
matching of ingress packets in the outer tag. The switch uses the default
primary TPID 0x8100 and any of the additional TPIDs to match packets in
the outer tag on ingress. A TPID must be configured globally before it can be
applied to an interface. Up to three additional TPIDs can be configured for
acceptance in the outer VLAN tag on the SP port. Packets received on the SP
port which do not contain one of the configured TPIDs or which do not
contain the SP VLAN ID in the outermost VLAN tag are processed by the
port as if they are not part of the QinQ tunnel.
Use the no form of the command to remove an additional TPID. Doing so
removes the TPID from all interfaces. If the removed TPID is the primary
TPID for an interface, the interface is configured to use the default primary
TPID 0x8100.
Packets are always transmitted by the system using the primary TPID value in
the outer VLAN tag.
It is not possible to configure an inner VLAN TPID value. The inner VLAN
TPID value is always 802.1Q (0x8100).
Use the switchport dot1q ethertype Interface Configuration mode command
to apply a configured TPID value to an interface.
Example
This example defines the VMAN (0x88A8) TPID for use on a service provider
(SP) port and configures a service provider port (Te1/0/1) in general mode
after creating the common SP/CE VLAN. The port is configured in general
mode and to only allow tagged packets on ingress using the outer VLAN ID
10. Then, the port is configured to accept the VMAN TPID in the outer
VLAN on ingress and further configured to tag packets with the VMAN TPID
and VLAN ID 10 in the outer VLAN tag on egress.
This example configures an SP port using general mode.
console(config)#switchport dot1q ethertype vman
console(config)#vlan 10
console(config-vlan10)#exit
console(config)#interface te1/0/1
console(config-if-Te1/0/1)#switchport mode general
console(config-if-Te1/0/1)#switchport general allowed vlan add 10 tagged
console(config-if-Te1/0/1)#switchport dot1q ethertype vman primary-tpid