Virtual Local Area Network (VLAN) Commands
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide 1262
67
67.9 switchport
Use the switchport Interface Configuration mode command to put an interface
that is in Layer 3 mode into Layer 2 mode. Use the no form of this command to put
an interface in Layer 3 mode.
Syntax
switchport
no switchport
Parameters
N/A
Default Configuration
Layer 2 mode
Command Mode
Interface (Ethernet, Port Channel) Configuration mode
User Guidelines
Use the no switchport command to set the interface as a Layer 3 interface.
An interface cannot be set as a Layer 3 interface if 802x.1 is enabled on the
interface and one of the following conditions is true:
• The host mode differs from multi-host.
• MAC-Based or WEB-Based authentication is enabled.
• Radius VLAN assignment is enabled.
Interface
---------
gi11
gi12
gi13
gi14
State
-------------
Protected
Protected
Unprotected
Unprotected