Switchport - Cisco Catalyst 3560X-24P Command Reference Manual

Cisco ios release 12.2(55)se
Hide thumbs Also See for Catalyst 3560X-24P:
Table of Contents

Advertisement

switchport

switchport
Use the switchport interface configuration command with no keywords on the switch stack or on a
standalone switch 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.
This command (with no keywords) is not supported on switches running the LAN base feature set.
Note
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.2(53)SE2
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.
When you put an interface that is in Layer 2 mode into Layer 3 mode (or the reverse), the previous
configuration information related to the affected interface might be lost, and the interface is returned to
its default configuration.
If an interface is configured as a Layer 3 interface, you must first enter this switchport command with
Note
no keywords to configure the interface as a Layer 2 port. Then you can enter additional switchport
commands with keywords, as shown on the pages that follow.
Catalyst 3750-X and 3560-X Switch Command Reference
2-866
switchport
no switchport
Modification
This command was introduced.
Chapter 2 Catalyst 3750-X and 3560-X Cisco IOS Commands
OL-21522-02

Advertisement

Table of Contents
loading

Table of Contents