Cisco Cisco 5760 Wireless LAN Controller Technical References

Page of 1016
switchport mode
To configure the VLAN membership mode of a port, use the switchport mode command in interface
configuration mode. To reset the mode to the appropriate default for the device, use the no form of this
command.
switchport mode {access| dot1q-tunneldynamic {auto| desirable}| private-vlan| trunk}
no switchport mode {access| dot1q-tunnel| dynamic| trunk}
Syntax Description
Sets the port to access mode (either static-access or dynamic-access depending on
the setting of the switchport access vlan interface configuration command). The
port is set to access unconditionally and operates as a nontrunking, single VLAN
interface that sends and receives nonencapsulated (non-tagged) frames. An access
port can be assigned to only one VLAN.
access
Sets the port as an IEEE 802.1Q tunnel port.
dot1q-tunnel
Sets the port trunking mode dynamic parameter to auto to specify that the interface
convert the link to a trunk link. This is the default switchport mode.
dynamic auto
Sets the port trunking mode dynamic parameter to desirable to specify that the
interface actively attempt to convert the link to a trunk link.
dynamic desirable
See the switchport mode private-vlan command.
private-vlan
Sets the port to trunk unconditionally. The port is a trunking VLAN Layer 2 interface.
The port sends and receives encapsulated (tagged) frames that identify the VLAN
of origination. A trunk is a point-to-point link between two controllers or between
a controller and a router.
trunk
Command Default
The default mode is dynamic auto.
Command Modes
Interface configuration
Command History
Modification
Release
This command was introduced.
Cisco IOS XE 3.2SE
Usage Guidelines
A configuration that uses the accessdot1q-tunnel, or trunk keywords takes effect only when you configure
the port in the appropriate mode by using the switchport mode command. The static-access and trunk
configuration are saved, but only one configuration is active at a time.
   Consolidated Platform Command Reference, Cisco IOS XE Release 3SE (Cisco WLC 5700 Series)
508
OL-29471-01  
switchport mode