Cisco Systems 2960 Model Vehicle User Manual


  Open as PDF
of 1004
 
12-38
Catalyst 2960 and 2960-S Switch Software Configuration Guide
OL-8603-09
Chapter 12 Configuring Interface Characteristics
Monitoring and Maintaining the Interfaces
Monitoring Interface Status
Commands entered at the privileged EXEC prompt display information about the interface, including
the versions of the software and the hardware, the configuration, and statistics about the interfaces.
Table 12-5 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 Cisco IOS Interface Command Reference, Release 12.2 from the Cisco.com page under
Documentation > Cisco IOS Software > 12.2 Mainline > Command References.
Clearing and Resetting Interfaces and Counters
Table 12-6 lists the privileged EXEC mode clear commands that you can use to clear counters and reset
interfaces.
Table 12-5 Show Commands for Interfaces
Command Purpose
show interfaces [interface-id] (Optional) Display the status and configuration of all interfaces or a
specific interface.
show interfaces interface-id status [err-disabled] (Optional) Display interface status or a list of interfaces in an
error-disabled state.
show interfaces [interface-id] switchport (Optional) Display administrative and operational status of switching
ports.
show interfaces [interface-id] description (Optional) Display the description configured on an interface or all
interfaces and the interface status.
show ip interface [interface-id] (Optional) Display the usability status of all interfaces configured for
IP routing or the specified interface.
show interface [interface-id] stats (Optional) Display the input and output packets by the switching path
for the interface.
show interfaces transceiver properties (Optional) Display speed and duplex settings on the interface.
show interfaces [interface-id] [{transceiver
properties | detail}] module number]
Display physical and operational status about an SFP module.
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
Display the operational state of the auto-MDIX feature on the
interface.
show power inline [interface-id] Display PoE status for a switch or for an interface.
show power inline police Display the power policing data.
Table 12-6 Clear Commands for Interfaces
Command Purpose
clear counters [interface-id] Clear interface counters.