Chapter 9
Configuring Interface Characteristics
This example shows how to clear and reset the counters on Fast Ethernet interface 0/2:
Switch# clear counters fastethernet0/2
Clear "show interface" counters on this interface [confirm] y
Switch#
*Sep 30 08:42:55: %CLEAR-5-COUNTERS: Clear counter on interface GigabitEthernet0/5
by vty1 (171.69.115.10)
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.
Beginning in privileged EXEC mode, follow these steps to shut down an interface:
Command
Step 1
configure terminal
Step 2
interface {vlan vlan-id} | {{fastethernet | gigabitethernet}
interface-id} | {port-channel port-channel-number}
Step 3
shutdown
Step 4
end
Step 5
show running-config
Use the no shutdown interface configuration command to restart the interface.
This example shows how to shut down Fast Ethernet interface 0/5:
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 Fast Ethernet interface 0/5:
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 interfaces privileged EXEC command. A disabled
interface is shown as administratively down in the show interfaces command display as with Fast
Ethernet interface 0/5 in this example.
78-11380-04
Monitoring and Maintaining the Interface
Purpose
Enter global configuration mode.
Select the interface to be configured.
Shut down an interface.
Return to privileged EXEC mode.
Verify your entry.
Catalyst 2950 Desktop Switch Software Configuration Guide
9-19