hit counter script

Clearing Counters On An Interface - Cisco 6500 Series Software Configuration Manual

Hide thumbs Also See for 6500 Series:
Table of Contents

Advertisement

Monitoring and Maintaining Interfaces
To display information about the interface, perform these tasks:
Command
Router# show ibc
Router# show eobc
Router# show interfaces [type slot/port]
Router# show running-config
Router# show rif
Router# show protocols [type slot/port]
Router# show version
This example shows how to display the status of Fast Ethernet port 5/5:
Router# show protocols fastethernet 5/5
FastEthernet5/5 is up, line protocol is up
Router#

Clearing Counters on an Interface

To clear the interface counters shown with the show interfaces command, perform this task:
Command
Router# clear counters {{vlan vlan_ID} |
1
{type
slot/port} | {port-channel channel_ID}}
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.
The clear counters command clears counters displayed with the EXEC show interfaces command, not
Note
counters retrieved using SNMP.
Catalyst 6500 Series Switch Cisco IOS Software Configuration Guide—Release 12.1 E
6-18
Purpose
Displays current internal status information.
Displays current internal out-of-band information.
Displays the status and configuration of all or a specific
interface.
Displays the currently running configuration.
Displays the current contents of the routing information field
(RIF) cache.
Displays the global (system-wide) and interface-specific
status of any configured protocol.
Displays the hardware configuration, software version, the
names and sources of configuration files, and the boot images.
Purpose
Clears interface counters.
Chapter 6
Configuring Interfaces
78-14099-04

Advertisement

Table of Contents
loading

Table of Contents