Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Clearing PIX counters

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
Silver

Re: Clearing PIX counters

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.

New Member

Re: Clearing PIX counters

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.

Silver

Re: Clearing PIX counters

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.

New Member

Re: Clearing PIX counters

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

:)

Julio,

Re: Clearing PIX counters

you need to be in the enable mode

config t

clear interface

Jorge

339
Views
8
Helpful
5
Replies