Clearing system statistics, Clearing system statistics -16 – Alcatel Carrier Internetworking Solutions Omni Switch/Router User Manual

Page 238

Advertising
background image

Clearing System Statistics

Page 9-16

Clearing System Statistics

You may want to clear statistics for a specific module, port or service for dialogistic or
accounting purposes. To clear switch statistics enter

clearstat

at the system prompt. A screen similar to the following will display.

Usage: clearstat

slot

[,port]

[,service]

[,instance]

As indicated in the prompt, you can clear all statistics from a module by entering the slot
number as shown here:

clearstat 3

This entry will clear all statistics for the module located in slot 3. If you want to clear statistics
for a specific port, service or instance, enter the

clearstat

command followed by the appropri-

ate numbers. You must use a comma (

,

) to separate the slot number from the port, service

and instance numbers. The following command will clear all statistics for port 1 of the
module located in slot 3.

clearstat 3,1

Caution

When the

clearstat

command is used, no notification is

sent to the SNMP manager about the cleared statistics.
Use of this command can cause unpredictable results
with your NMS statistics.

Advertising