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 g1:

CODE
Switch(config)# interface g1
Switch(config-if)# shutdown

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

CODE
Switch# show running-config interfaces g1
interface g1
 shutdown