Chapter 2 Catalyst 3750-X and 3560-X Cisco IOS Commands
Examples
Note
Related Commands
OL-21522-02
Downloaded from
www.Manualslib.com
This example shows how to cause an interface to cease operating as a Layer 2 port and become a
Cisco-routed port:
Switch(config-if)# no switchport
This example shows how to cause the port interface to cease operating as a Cisco-routed port and convert
to a Layer 2 switched interface:
Switch(config-if)# switchport
The switchport command without keywords is not used on platforms that do not support Cisco-routed
ports. All physical ports on such platforms are assumed to be Layer 2-switched interfaces.
You can verify the switchport status of an interface by entering the show running-config privileged
EXEC command.
Command
show interfaces
switchport Displays the administrative and operational status of a switching
show running-config
manuals search engine
Description
(nonrouting) port, including port blocking and port protection settings.
Displays the operating configuration. For syntax information, use this
link to the Cisco IOS Release 12.2 Command Reference listing page:
http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_com
mand_reference_list.html
Select the Cisco IOS Commands Master List, Release 12.2 to
navigate to the command.
Catalyst 3750-X and 3560-X Switch Command Reference
switchport
2-867