Administrator Guide

Layer 2 Switching Commands 824
Command Mode
Interface Configuration mode (physical and port channel), Interface range
mode (physical and port channel)
User Guidelines
This command applies a previously defined TPID to an interface. The TPID
must be configured using the global configuration mode command before it
can be applied to an interface. Up to 3 additional TPIDs for use in the outer
VLAN tag may be configured.
The outer VLAN tag in tagged packets received on the interface is compared
against the configured list of TPIDs. Frames that do not match any of the
configured TPIDs are forwarded normally, i.e. without QinQ processing.
Frames transmitted on the interface are always transmitted with the primary
TPID inserted in the outer VLAN tag.
Use the no form of the command to remove the TPID from an interface.
Defining a new primary TPID command overwrites the existing primary
TPID for an interface.
The no form of the command with the optional primary TPID specified sets
the primary TPID value to 802.1Q (0x8100).
If the TPID value was not configured as a primary TPID and the no form the
command includes the optional primary-tpid argument, the command will
fail.
If the TPID value was configured as the primary TPID, and the no form of
the command does not include the optional primary-tpid argument, the
command will fail.
If a TPID value is configured as the primary TPID, and it is added again
without the primary-tpid optional argument, the TPID will be treated as the
primary TPID (the primary TPID includes the behavior of secondary TPIDs).
It is not possible to configure an inner VLAN TPID value. The inner VLAN
TPID value is always 802.1Q (0x8100).
Example
This example defines the VMAN (0x88A8) TPID for use on a service provider
port and configures a service provider port (Te1/0/1) in general mode. The
general mode port is configured to only allow tagged packets on ingress using