Clearing And Resetting Interfaces And Counters - Cisco Catalyst 3550 series Software Configuration Manual

Multilayer switch
Hide thumbs Also See for Catalyst 3550 series:
Table of Contents

Advertisement

Chapter 10
Configuring Interface Characteristics
Voice VLAN: dot1p (Inactive)
Appliance trust: 5
This example shows how to display the running configuration of Fast Ethernet interface 0/2:
Switch# show running-config interface fastethernet0/2
Building configuration...
Current configuration : 131 bytes
!
interface FastEthernet0/2
switchport mode access
switchport protected
no ip address
mls qos cos 7
mls qos cos override
end
For additional examples of the show interfaces privileged EXEC command, refer to the command
reference for this release.

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 interface privileged EXEC
command.
This example shows how to clear and reset the counters on Fast Ethernet interface 0/5:
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)
78-11194-09
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.
Monitoring and Maintaining the Interfaces
Catalyst 3550 Multilayer Switch Software Configuration Guide
10-21

Advertisement

Table of Contents
loading

Table of Contents