Clearing And Resetting Interfaces And Counters; Shutting Down And Restarting The Interface - Cisco Catalyst 2950 Software Configuration Manual

Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

Chapter 10
Configuring Interface Characteristics
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 10-3
interfaces.
Table 10-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.
This example shows how to clear and reset a port:
Switch# clear interface fastethernet0/5

Shutting Down and Restarting the Interface

Shutting down an interface disables all functions on the specified interface and marks the interface as
unavailable on all monitoring command displays. This information is communicated to other network
servers through all dynamic routing protocols. The interface is not mentioned in any routing updates.
78-11380-12
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.
Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide
Monitoring and Maintaining the Interfaces
10-17

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2955

Table of Contents