9-15
Catalyst 2940 Switch Software Configuration Guide
78-15507-02
Chapter9 Configuring the Switch Int erf ace s Monitoring and Maintaining the Interfaces
Monitoring Interface and Controller Status
Commands entered at the privileged EXEC prompt display information about the interface, includin g
the version of the software and the hardware, the controller status, and statistics about the interfaces.
Table 9 -3 lists some of these interface monitoring commands. (You can display the full list of show
commands by using the show ? command at the privileged EXEC prompt.) These commands are fully
described in the command reference for this release and in the Cisco IOS Interface Command Reference
for Cisco IOS Release 12.1.
For examples of the output from commands in Tab le 9-3 , refer to the command reference for this release
and to the Cisco IOS Interface Command Reference for Cisco IOS Release 12.1.
Clearing and Resetting Interfaces and Counters
Table 9 -4 lists the privileged EXEC mode clear commands that you can use to clear counters and res et
interfaces.
Table9-3 show Commands for Interfaces
Command Purpose
show interfaces [interface-id] Display the status and configuration of all interfaces or a sp ec ific
interface.
show interfaces [interface-id] capabilities [module
{module-number}] Display the capabilities of an interface. If you do not specify a module,
the capabilities for all ports on the switch appear.
show interfaces interface-id status [err-disabled] Display interface status or a list of interfaces in error-disabled state.
show interfaces [interface-id] switchport Display administrative and operational status of switching
(nonrouting) ports.
show interfaces [interface-id] description Display the description configured on an inter face or a ll interf aces and
the interface status.
show ip interface [interface-id] Display the usability status of all interfaces configured for IP or the
specified interface.
show running-config interface [interface-id] Display the running configuration in RAM for the interface.
show version Display the hardware configuration, software version, the names and
sources of configuration files, and the boot images.
show controllers ethernet-controller interface-id
phy 32 Verify the operational state of the Auto-MDIX feature on the interface.
Table9-4 Clear Commands for Interfaces
Command Purpose
clear counters [interface-id] Clear interface counters.
clear interface interface-id Reset the hardware logic on an interface.
clear line [number | console 0 | vty number] Reset the hardware logic on an asynchronous serial line.