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 (27-11)
show dot1q-tunnel
This command displays information about QinQ tunnel ports.
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
Current double-tagged status of the system is Enabled
The dot1q-tunnel mode of the set interface 1/1 is Access mode, TPID is 0x8100.
The dot1q-tunnel mode of the set interface 1/2 is Uplink mode, TPID is 0x8100.
The dot1q-tunnel mode of the set interface 1/3 is Normal mode, TPID is 0x8100.
.
Related Commands
switchport dot1q-tunnel mode (34-15)
34-17
Configuring IEEE 802.1Q Tunneling
34
.
.