CLI Reference Guide-R07

Table Of Contents
Chapter 20
| VLAN Commands
Configuring IEEE 802.1Q Tunneling
– 489 –
Syntax
[no] dot1q-tunnel tpid ethertype
ethertype – A specific Ethernet protocol number. (Range: 800-ffff hex)
Default Setting
The ethertype is set to 0x8100
Command Mode
Global Configuration
Command Usage
Use the dot1q-tunnel tpid command to set the global custom 802.1Q ethertype.
This feature allows the switch to interoperate with third-party switches that do not
use the standard 0x8100 ethertype to identify 802.1Q-tagged frames. For example,
if 0x1234 is set as the global 802.1Q ethertype, incoming frames on trunk ports
containing that ethertype are assigned to the VLAN contained in the tag following
the ethertype field. Frames arriving on trunk ports containing any other ethertype
are looked upon as untagged frames, and assigned to the native VLAN of the port.
The specified ethertype only applies to ports configured in Uplink mode using the
switchport dot1q-tunnel mode command. If the port is in normal mode (i.e,
unspecified), the TPID is always 0x8100. If the port is in Access mode, received
packets are processes as untagged packets.
Example
Console(config)#dot1q-tunnel tpid 0x88A8
Console(config)#
Related Commands
show dot1q-tunnel (491)
switchport dot1q-tunnel mode (489)
switchport
dot1q-tunnel mode
This command configures an interface as a QinQ tunnel port. Use the no form to
disable QinQ on the interface.
Syntax
switchport dot1q-tunnel mode {access | uplink}
no switchport dot1q-tunnel mode
access – Sets the port as an 802.1Q tunnel access port.
uplink – Sets the port as an 802.1Q tunnel uplink port.
Default Setting
Disabled