Command Line Interface
4-2524
Default Setting
Disabled
Command Mode
Global Configuration
Command Usage
QinQ tunnel mode must be enabled on the switch for QinQ interface settings
to be functional.
Example
Related Commands
show dot1q-tunnel (4-253)
show interfaces switchport (4-175)
switchport dot1q-tunnel modeThis 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
Command Mode
Interface Configuration (Ethernet, Port Channel)
Command Usage
Use the dot1q-tunnel system-tunnel-control command to set the switch to
QinQ mode before entering this command.
Example
Related Commands
show dot1q-tunnel (4-253)
show interfaces switchport (4-175)
Console(config)#dot1q-tunnel system-tunnel-control
Console(config)#
Console(config)#interface ethernet 1/1
Console(config-if)#switchport dot1q-tunnel mode access
Console(config-if)#