Clearing And Resetting Interfaces And Counters - Cisco 2950 - Catalyst Switch Configuration Manual

Software configuration guide
Hide thumbs Also See for 2950 - Catalyst Switch:
Table of Contents

Advertisement

Monitoring and Maintaining the Interfaces
Table 11-2 show Commands for Interfaces (continued)
Command
show ip interface [interface-id]
show running-config interface [interface-id]
show version
For examples of the output from these commands, refer to the command reference for this release 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 interface,
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 that the speed and 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

Table 11-3
interfaces.
Table 11-3 Clear Commands for Interfaces
Command
clear counters [interface-id]
clear interface interface-id
clear line [number | console 0 | vty number]
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.
The clear counters privileged EXEC command does not clear counters retrieved by using Simple
Note
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 lines.
Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide
11-16
Purpose
Display the usability status of all interfaces configured for IP or the
specified interface.
Display the running configuration in RAM for the interface.
Display the hardware configuration, software version, the names and
sources of configuration files, and the boot images.
lists the privileged EXEC mode clear commands that you can use to clear counters and reset
Purpose
Clear interface counters.
Reset the hardware logic on an interface.
Reset the hardware logic on an asynchronous serial line.
Chapter 11
Configuring Interface Characteristics
78-11380-10

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2955

Table of Contents