11-17
Catalyst2950 and Catalyst2955 Switch Software Configuration Guide
78-11380-10
Chapter11 Configuring Interface Char act eristics Monitoring and Maintaining the Interfaces
This example shows how to clear and reset a port:
Switch# clear interface fastethernet0/5
Shutting Down and Restarting the Interface
Shutting down an interface disables all functions on the specified interface and marks the interface as
unavailable on all monitoring command displays. This information is communicated to other network
servers through all dynamic routing protocols. The interface is not mentioned in any routing updates.
Beginning in privileged EXEC mode, follow these steps to shut down an interface:
Use the no shutdown interface configuration command to restart the interface.
When the shutdown interface configuration command is entered on an LRE interface, the LRE link is
shut down. To shut down the 10/100 Ethernet ports on CPE device, use the cpe shutdown [port port-id]
interface configuration command.
This example shows how to shut down a port:
Switch# configure terminal
Switch(config)# interface fastethernet0/5
Switch(config-if)# shutdown
Switch(config-if)#
*Sep 30 08:33:47: %LINK-5-CHANGED: Interface FastEthernet0/5, changed state to a
administratively down
This example shows how to re-enable a port:
Switch# configure terminal
Switch(config)# interface fastethernet0/5
Switch(config-if)# no shutdown
Switch(config-if)#
*Sep 30 08:36:00: %LINK-3-UPDOWN: Interface FastEthernet0/5, changed state to up
To verify that an interface is disabled, enter the show int erfaces pri vileged EXEC command. A disabled
interface appears as administratively down in the show interfaces command output.
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 interface {vlan vlan-id} | {{fastethernet | gigabitethernet}
interface-id} | {port-channel port-channel-number}Select the interface to be configured.
Step3 shutdown Shut down an interface.
Step4 end Return to privileged EXEC mode.
Step5 show running-config Verify your entry.