shutdown

To shut down an interface, use the shutdown command in the interface configuration mode. To disable this function, use the no form of this command.

Syntax Description

No arguments or keywords.

Defaults

No default behavior or values.

Command Modes

Interface Configuration

Usage Guidelines

When you shut down an interface using this command, you lose connectivity to the Cisco CDA appliance through that interface (even though the appliance is still powered on). However, if you have configured the second interface on the appliance with a different IP and have not shut down that interface, you can access the appliance through that second interface.

To shut down an interface, you can also modify the ifcfg-eth[0,1] file, which is located at /etc/sysconfig/network-scripts, using the ONBOOT parameter:

 • Disable an interface: set ONBOOT="no”

 • Enable an interface: set ONBOOT="yes"

You can also use the no shutdown command to enable an interface.

Examples

/admin(config)# interface GigabitEthernet 0

/admin(config-GigabitEthernet)# shutdown

Related Commands

Command

Description

interface

Configures an interface type and enters the interface mode.

ip address (interface configuration mode)

Sets the IP address and netmask for the Ethernet interface.

show interface

Displays information about the system IP interfaces.

ip default-gateway

Sets the IP address of the default gateway of an interface.