Switchport - Cisco Catalyst 3550 Command Reference Manual

Multilayer switch
Hide thumbs Also See for Catalyst 3550:
Table of Contents

Advertisement

switchport

switchport
Use the switchport interface configuration command with no keywords to put an interface that is in
Layer 3 mode into Layer 2 mode for Layer 2 configuration. Use the no form of this command to put an
interface in Layer 3 mode.
Use the no switchport command (without parameters) to set the interface to the routed-interface status
and to erase all Layer 2 configurations. You must use this command before assigning an IP address to a
routed port.
If an interface is to be configured as a Layer 3 interface, you must first enter the switchport command
Note
with no keywords to configure the interface as a Layer 2 port. Then you can enter additional switchport
commands with keywords.
Syntax Description
This command has no arguments or keywords.
Defaults
By default, all interfaces are in Layer 2 mode.
Command Modes
Interface configuration
Command History
Release
12.1(4)EA1
Usage Guidelines
Entering the no switchport command shuts the port down and then re-enables it, which might generate
messages on the device to which the port is connected.
Examples
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
Note
ports. All physical ports on such platforms are assumed to be Layer 2-switched interfaces.
Catalyst 3550 Multilayer Switch Command Reference
2-572
switchport
no switchport
Modification
This command was introduced.
Chapter 2 Catalyst 3550 Switch Cisco IOS Commands
OL-8566-01

Advertisement

Table of Contents
loading

Table of Contents