4-14
Software Configuration Guide—Release 12.2(25)SG
OL-7659-02
Chapter4 Configuring Interfaces
Monitoring and Maintaining the Interface
Monitoring Interface and Controller Status
The Cisco IOS software for the Catalyst 4500 series switch contains comma nds that you can enter at the
EXEC prompt to display information about the interface, including the version of the software and the
hardware, the controller status, and statistics about the interfaces. The following table lists some of the
interface monitoring commands. (You can display the full list of show commands by entering the show?
command at the EXEC prompt.) These commands are fully described in the Interface Command
Reference.
To display information about the interface, perform this task:
This example shows how to display the status of Fast Ethernet interface 5/5:
Switch# show protocols fastethernet 5/5
FastEthernet5/5 is up, line protocol is up
Switch#
Clearing and Resetting the Interface
To clear the interface counters shown with the show interfaces command, enter the following command:
This example shows how to clear and reset the counters on Fast Ethernet interface 5/5:
Switch# clear counters fastethernet 5/5
Clear "show interface" counters on this interface [confirm] y
Switch#
*Sep 30 08:42:55: %CLEAR-5-COUNTERS: Clear counter on interface FastEthernet5/5
by vty1 (171.69.115.10)
Switch#
The clear counters command (without any arguments) clears all the current interface counters from all
interfaces.
Note The clear counters command does not clear counters retrieved with SNMP; it clears only those counters
displayed with the EXEC show interfaces command.
Command Purpose
Step1 Switch# show interfaces [
type slot/interface
]Displays the status and configuration of all interfaces or of a
specific interface.
Step2 Switch# show running-config Displays the configuration currently running in RAM.
Step3 Switch# show protocols [
type slot/interface
] Disp lays the global (system-wide) and interface-specific
status of any configured protocol.
Step4 Switch# show version Displays the hardware configuration, software version, the
names and sources of configuration files, and the boot images.
Command Purpose
Switch# clear counters {
type slot/interface
}Clears interface counters.