shutdown

This topic explains the commands that disable an interface or enable it again, including recovery of an error-disabled interface.

Syntax

CODE
shutdown
no shutdown

Parameter

None.

Default

The administration state is no shutdown.

Mode

Interface Configuration

Usage

Use the shutdown command to disable an interface.

Use the no shutdown command to enable an interface. If an interface is error-disabled, use the no shutdown command to try to recover the interface.

Example

This example shows how to shut down interface 1/0/1:

CODE
Switch(config)# interface 1/0/1
Switch(config-if)# shutdown

This example shows how to display the running configuration for interface 1/0/1, which also displays the administrative state of an interface:

CODE
Switch# show running-config interfaces 1/0/1
interface 1/0/1
 shutdown

This example shows how to show current link status:

CODE
Port    Name    Status  Vlan    Duplex  Speed   Type
1/0/1           disable 1       full    auto    copper