Clearing PIX counters

Unanswered Question

Is it possible to clear all the interface counters? I noticed errors on my PIX's outside interface and wanted to clear them, but I couldn't find the command.

My sho int output showed:

MPA-PIX# sh int

interface ethernet0 "outside" is up, line protocol is up

1218713296 packets input, 1646448530 bytes, 0 no buffer

Received 547517 broadcasts, 471697101 runts, 0 giants

520078663 input errors, 47186678 CRC, 1194874 frame, 0 overrun, 4

ignored, 0 abort

1261215020 packets output, 1272160595 bytes, 1 underruns

0 output errors, 0 collisions, 0 interface resets

0 babbles, 0 late collisions, 0 deferred

0 lost carrier, 0 no carrier

input queue (curr/max blocks): hardware (128/128) software (0/101

output queue (curr/max blocks): hardware (0/70) software (0/2)

I can not find the Clear Counters command. Is there one in this PIX using IOS 6.3(5)? If so, what is the command?

Thanks.

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (2 ratings)
Loading.
vitripat Fri, 06/29/2007 - 13:01

You can use following commands-

pix(config)# clear interface

**Clears all counters on all interfaces

pix(config)# clear interface

**Clears all counters on specified interface

Hope this helps.

Regards,

Vibhor.

It didn't work. This is what I tried and the response I got.

PIX Version 6.3(5)

interface ethernet0 100full

interface ethernet1 100full

interface ethernet2 100full

nameif ethernet0 outside security0

nameif ethernet1 inside security100

nameif ethernet2 dmz security50

PIX# clear interface ethernet0

Type help or '?' for a list of available commands.

PIX# clear int e0

Type help or '?' for a list of available commands.

PIX# clear int outside

Type help or '?' for a list of available commands.

PIX#

Thanks again.

vitripat Fri, 06/29/2007 - 13:55

pix(config)# clear interface

pix(config)# clear interface

You need to be in config mode to use these commands as shown with (config).

PIX# config t

PIX(config)#

Regards,

Vibhor.

Actions

This Discussion