Administrator Guide

Layer 2 Switching Commands 827
Syntax
switchport dot1q ethertype { 802.1Q | vman | custom
0-65535
} [primary-
tpid]
no switchport dot1q ethertype { 802.1Q |vman | custom
0-65535
}
[primary-tpid]
802.1
Q
—Allow ingress frames with Ethertype 0x8100.
vman
—Define the Ethertype as 0x88A8.
custom
—Define the Ethertype as a 16 bit user defined value (in decimal).
primary-tpid
—Set the outer VLAN tag TPID to be inserted in frames
transmitted on an SP port. Also processes ingress frames with the
configured Ethertype as double tagged.
Default Configuration
802.1Q is the default Ethertype for both inner and outer VLAN TPIDs.
By default QinQ processing of frames is disabled.
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.
2CSNXXX_SWUM204.book Page 827 Monday, January 25, 2016 1:25 PM