Chapter 21
S Commands
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
shutdown
To disable an interface, use the shutdown command. To enable an interface, use the no form of the
command.
Syntax Description
force
Defaults
None.
Command Modes
Interface configuration submode.
Command History
Release
1.0(1)
Usage Guidelines
The default state for interfaces is shutdown. Use the no shutdown command to enable an interface to
carry traffic.
When you try to shutdown a management interface (mgmt0), a follow-up message confirms your action
before performing the operation. Use the force option to bypass this confirmation, if required.
Examples
The following example shows how to enable an interface.
switch# config terminal
switch(config)# interface fc 1/2
switch(config-if)# no shutdown
The following example shows how to disable an interface.
switch# config terminal
switch(config)# interface mgmt 0
switch(config-if)# shutdown
The following example shows how to forcefully disable the mgmt 0 interface.
switch# config terminal
switch(config)# interface mgmt 0
switch(config-if)# shutdown force
Related Commands
Command
interface
show interface
OL-18089-01, Cisco MDS NX-OS Release 4.x
shutdown [force]
no shutdown [force]
(Optional) Forces the shutdown of the mgmt 0 interface.
Modification
This command was introduced.
Description
Specifies an interface and enters interface configuration submode.
Displays interface information.
Cisco MDS 9000 Family Command Reference
shutdown
21-33