Chapter 21
| VLAN Commands
Configuring IEEE 802.1Q Tunneling
– 608 –
custom 802.1Q ethertype on a trunk port, incoming frames containing that
ethertype are assigned to the VLAN contained in the tag following the
ethertype field, as they would be with a standard 802.1Q trunk. Frames arriving
on the port containing any other ethertype are looked upon as untagged
frames, and assigned to the native VLAN of that 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 8100. If the port is in Access mode, received
packets are processes as untagged packets.
Example
Console(config)#interface ethernet 1/1
Console(config-if)#switchport dot1q-tunnel tpid 9100
Console(config-if)#
Related Commands
show interfaces switchport (439)
show dot1q-tunnel This command displays information about QinQ tunnel ports.
Syntax
show dot1q-tunnel [interface interface [service svid] | service [svid]]
interface
ethernet unit/port
unit - Unit identifier. (Range: 1-8)
port - Port number. (Range: 1-28/52)
port-channel channel-id (Range: 1-16)
svid - VLAN ID for the outer VLAN tag (SPVID). (Range: 1-4094)
Command Mode
Privileged Exec
Example
Console(config)#dot1q-tunnel system-tunnel-control
Console(config)#interface ethernet 1/1
Console(config-if)#switchport dot1q-tunnel mode access
Console(config-if)#interface ethernet 1/2
Console(config-if)#switchport dot1q-tunnel mode uplink
Console(config-if)#end
Console#show dot1q-tunnel
802.1Q Tunnel Status : Enabled
Port Mode TPID (hex)
-------- ------ ----------
Eth 1/ 1 Access 8100
Eth 1/ 2 Uplink 8100