Clearing And Resetting Interfaces And Counters; Shutting Down And Restarting The Interface - Cisco WS-C3560-48PS-S Software Configuration Manual

Software configuration guide
Hide thumbs Also See for WS-C3560-48PS-S:
Table of Contents

Advertisement

Chapter 10
Configuring Interface Characteristics

Clearing and Resetting Interfaces and Counters

Table 10-4
interfaces.
Table 10-4 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.

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.
Beginning in privileged EXEC mode, follow these steps to shut down an interface:
Command
Step 1
configure terminal
Step 2
interface {vlan vlan-id} | {{fastethernet | gigabitethernet}
interface-id} | {port-channel port-channel-number}
Step 3
shutdown
Step 4
end
Step 5
show running-config
Use the no shutdown interface configuration command to restart the interface.
To verify that an interface is disabled, enter the show interfaces privileged EXEC command. A disabled
interface is shown as administratively down in the show interface command display.
78-16156-01
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
Purpose
Enter global configuration mode.
Select the interface to be configured.
Shut down an interface.
Return to privileged EXEC mode.
Verify your entry.
Catalyst 3560 Switch Software Configuration Guide
10-23

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents