Administrator Guide

Layer 2 Switching Commands 818
test 1 IP 1 gi1/0/1
show switchport ethertype
Use the show switchport ethertype to display the configured Ethertype for
each interface.
Syntax
show switchport ethertype [ interface
interface-id
| all ]
interface-id
—A physical interface or port channel.
all
—All interfaces.
Default Configuration
There is no default configuration for this command.
Command Mode
Privileged Exec mode and all Show modes
User Guidelines
Up to three additional TPIDs can be configured. The 802.1Q TPID is pre-
configured in the system and may not be removed.
It is not possible to configure an inner VLAN TPID value other than 0x8100.
The primary TPID is shown in the EtherType column. The primary TPID is
placed in the outer tag for traffic egressing the interface. The interface will
process traffic as double tagged if any of the configured TPIDs is present in
the frames outer VLAN tag. Traffic with a TPID other than the configured
TPID is processed normally, i.e. as if it is not double tagged.
Example
This example shows the various invocations of the command.
console(config)#show switchport ethertype
Default TPID................................... 802.1
Configured TPIDs .............................. vMAN Custom (1010)
2CSNXXX_SWUM204.book Page 818 Monday, January 25, 2016 1:25 PM