
10-21
Catalyst 3550 Multilayer Switch Software Configuration Guide
78-11194-09
Chapter 10 Configuring Interface Characteristics
Monitoring and Maintaining the Interfaces
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
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 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)
Table 10-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.