2-585
Catalyst 3550 Multilayer Switch Command Reference
OL-8566-01
Chapter 2 Catalyst 3550 Switch Cisco IOS Commands
switchport mode
Note For more information about configuring IEEE 802.1Q tunnel ports, see the software configuration guide
for this release.
Examples This example shows how to configure a port for access mode:
Switch(config-if)# switchport mode access
This example shows how set the interface to dynamic desirable mode:
Switch(config-if)# switchport mode dynamic desirable
This example shows how to configure a port for trunk mode:
Switch(config-if)# switchport mode trunk
This example shows how to configure a port for as an IEEE 802.1Q tunnel port:
Switch(config-if)# switchport mode dot1q-tunnel
You can verify your settings by entering the show interfaces interface-id switchport privileged EXEC
command and examining information in the Administrative Mode and Operational Mode rows.
Related Commands Command Description
show dot1q-tunnel Displays information about IEEE 802.1Q tunnel ports on the switch.
show interfaces switchport Displays the administrative and operational status of a switching
(nonrouting) port, including port blocking and port protection
settings.
switchport access Configures a port as a static-access or dynamic-access port.
switchport trunk Configures the trunk characteristics when an interface is in trunking
mode.