Users Guide

Layer 2 Switching Commands 878
configured with a native VLAN. A trunk port only transmits tagged packets
for member VLANs other than the native VLAN and untagged packets for
the native VLAN.
general—Full 802.1Q support VLAN interface. A general mode port is a
combination of both trunk and access ports capabilities. It is possible to
fully configure all VLAN features on a general mode port. Both tagged and
untagged packets may be accepted and transmitted.
Default Configuration
The default switchport mode is access.
Command Mode
Interface Configuration Ethernet and port-channel mode
User Guidelines
This command has no user guidelines.
Example
The following example configures Gi1/0/5 to access mode.
console(config)#interface gigabitethernet 1/0/5
console(config-if-Gi1/0/5)#switchport mode access
switchport mode dot1q-tunnel
Use the switchport mode dot1q-tunnel command to enable QinQ tunneling
on customer edge (CE) interfaces. Use the no form of the command to return
the interface to the default switchport mode (access).
Syntax
switchport mode dot1q-tunnel
no switchport mode dot1q-tunnel
Default Configuration
By default, QinQ processing of frames is disabled.