11-16
Catalyst2950 and Catalyst2955 Switch Software Configuration Guide
78-11380-10
Chapter11 Configuring Interface Characteristics
Monitoring and Maintaining the Interfaces
For examples of the output from these commands, refer to the command reference for this releas e and
to the Cisco IOS Interface Command Reference for Cisco IOS Release 12.1.
If you enter the show interfaces interfaces-id privileged EXEC command on a LRE switch inte rface ,
the command output shows the statistics for the LRE interface. It does not show the statistics for the
10/100 Ethernet ports on the attached CPE device. The output also shows tha t the sp eed an d duplex
settings of the LRE interface are never autonegotiated but are always forced (in other words, the speed
and duplex settings will be 100 Mbps and half duplex, 100 Mbps and full duplex, 10 Mbps and half
duplex, or 10 Mbps and full duplex).
Clearing and Resetting Interfaces and Counters
Table11-3 lists the privileged EXEC mode clear commands that you can use to clear counters and reset
interfaces.
To clear the interface counters shown by the show interfaces privileged EXEC command, use the clear
counters privileged EXEC command. The clear counters command clears all current interface counters
from the interface unless optional arguments are specified to clear only a specific interface type from a
specific interface number.
Note The clear counters privileged EXEC command does not clear counters retrieved by using Simple
Network Management Protocol (SNMP), but only those seen with the show interfaces privileged EXEC
command output.
This example shows how to clear and reset the counters on a port:
Switch# clear counters fastethernet0/5
Clear "show interface" counters on this interface [confirm] y
Switch#
*Sep 30 08:42:55: %CLEAR-5-COUNTERS: Clear counter on interface FastEthernet0/5
by vty1 (171.69.115.10)
Use the clear interface or clear line privileged EXEC command to clear and reset an interface or serial
line. Under most circumstances, you do not need to clear the hardware logic on interfaces or serial line s.
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.
Table11-2 show Commands for Interfaces (continued)
Command Purpose
Table11-3 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.