C
HAPTER
35
| VLAN Commands
Configuring IEEE 802.1Q Tunneling
– 845 –
COMMAND MODE
Interface Configuration (Ethernet, Port Channel)
COMMAND USAGE
◆ Use the switchport dot1q-tunnel tpid command to set a custom
802.1Q ethertype value on the selected interface. 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, 0x1234 is set as the 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.
◆ All ports on the switch will be set to the same ethertype.
EXAMPLE
Console(config)#interface ethernet 1/1
Console(config-if)#switchport dot1q-tunnel tpid 9100
Console(config-if)#
RELATED COMMANDS
show interfaces switchport (732)
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 - Stack unit. (Range: 1)
port - Port number. (Range: 1-10)
port-channel channel-id (Range: 1-5)
svid - VLAN ID for the outer VLAN tag (SPVID). (Range: 1-4093, no
leading zeroes)
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