system default switchport shutdown
To configure all Layer 2 switchports to be Layer 3 routed ports, use the system default switchport shutdown
command. To reset to the default of all Layer 2 swithports, use the no form of this command.
system default switchport shutdown
no system default switchport shutdown
Syntax Description
This command has no arguments or keywords.
Command Default
The default is all ports configured as Layer 2 switchports.
Command Modes
Global configuration mode
Command History
ModificationRelease
This command was introduced.5.2(1)N1(1)
Usage Guidelines
When the system default switchport shutdown command is issued, any switchports (including FEX HIFs)
that are not configured with no shutdown command are shut down. To avoid the shutdown, configure the
switchports with no shutdown command.
Examples
This example shows how to set all ports as Layer 3 routed ports:
switch# configure terminal
switch(config)# system default switchport shutdown
switch(config)#
This example shows how to reset all ports back to Layer 2 switchports:
switch# configure terminal
switch(config)# system default switchport shutdown
switch(config)#
Related Commands
DescriptionCommand
Displays the interface configuration information.show interface
Cisco Nexus 5000 Series Interfaces Command Reference
91
S Commands
system default switchport shutdown