Monitoring and Maintaining Interfaces
1. type = ethernet, fastethernet, gigabitethernet, or tengigabitethernet
This example shows how to clear and reset the counters on Fast Ethernet port 5/5:
Router# clear counters fastethernet 5/5
Clear "show interface" counters on this interface [confirm] y
Router#
*Sep 30 08:42:55: %CLEAR-5-COUNTERS: Clear counter on interface FastEthernet5/5
The clear counters command clears all the current counters from the interface unless the optional
arguments specify a specific interface.
Note
The clear counters command clears counters displayed with the EXEC show interfaces command, not
counters retrieved using SNMP.
Resetting an Interface
To reset an interface, perform this task:
Command
Router# clear interface type
1. type = ethernet, fastethernet, gigabitethernet, or tengigabitethernet
This example shows how to reset Fast Ethernet port 5/5:
Router# clear interface fastethernet 5/5
Router#
Shutting Down and Restarting an Interface
You can shut down an interface, which disables all functions on the specified interface and shows 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 included in any routing
updates.
To shut down an interface and then restart it, perform this task:
Command
Step 1
Router(config)# interface {{vlan vlan_ID } |
1
{ type
slot/port } | {port-channel channel_ID }}
Step 2
Router(config-if)# shutdown
Step 3
Router(config-if)# no shutdown
1.
type = ethernet, fastethernet, gigabitethernet, or tengigabitethernet
This example shows how to shut down Fast Ethernet port 5/5:
Router(config)# interface fastethernet 5/5
Router(config-if)# shutdown
Router(config-if)#
Cisco 7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX
9-18
1
slot/port
Purpose
Resets an interface.
Purpose
Selects the interface to be configured.
Shuts down the interface.
Reenables the interface.
Chapter 9
Configuring Interfaces
OL-4266-08