hit counter script

Clear Counters - Cisco XR 1200 series Command Reference Manual

Cisco ios xr system monitoring command reference
Table of Contents

Advertisement

clear counters

clear counters
To clear the interface counters, use the clear counters command in EXEC mode.
clear counters [all| type interface-path-id]
Syntax Description
all
type
interface-path-id
Command Default
Counters for all interfaces are cleared.
Command Modes
EXEC
Command History
Release
Release 3.2
Usage Guidelines
Use the clear counters command to clear all the statistics counters displayed by the show interfaces command.
If no optional arguments are supplied or if the all keyword is specified, then the counters for all interfaces are
cleared. If an interface type is specified, then only the counters for that interface are cleared.
The clear counters command with the all option clears counters on all interfaces. When you enter this
command, the system prompts you for confirmation. You must then press Enter or the y key for the clear
counters command to take effect.
Note
This command does not clear counters retrieved using Simple Network Management Protocol (SNMP),
but only those counters displayed with the show interfaces command.
Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1
414
(Optional) Clears counters on all interfaces.
(Optional) Interface type. For more information, use the question mark (?) online
help function.
(Optional) Physical interface or virtual interface.
Use the show interfaces command to see a list of all interfaces currently
Note
configured on the router.
For more information about the syntax for the router, use the question mark (?) online
help function.
Modification
This command was introduced.
Statistics Service Commands
OL-24735-01

Advertisement

Table of Contents
loading

Table of Contents