06-29-2007 12:40 PM - edited 03-11-2019 03:37 AM
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.
06-29-2007 01:01 PM
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.
06-29-2007 01:47 PM
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.
06-29-2007 01:55 PM
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.
06-29-2007 03:18 PM
Thanks! That did it. I will rate your POST a whopping 5!
:)
Julio,
06-29-2007 02:06 PM
you need to be in the enable mode
config t
clear interface
Jorge
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: