cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
669
Views
8
Helpful
5
Replies

Clearing PIX counters

flopez
Level 1
Level 1

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.

5 Replies 5

vitripat
Level 7
Level 7

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.

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.

Thanks! That did it. I will rate your POST a whopping 5!

:)

Julio,

you need to be in the enable mode

config t

clear interface

Jorge

Jorge Rodriguez
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: