10-16-2003 11:58 AM - edited 02-20-2020 09:22 PM
Hi,
Does anyone know of a command to clear the HITCOUNT on an ACL list and a command to clear the counters on an interface for the PIX? I can't seem to find this anywhere. Any help would be appreciated. Thanks.
Jeff
Solved! Go to Solution.
10-16-2003 11:48 PM
Hi,
Try command:
> clear access-list
This clears the counters shown by the show access-list command.
To clear counters on an interface, go into config mode and issue this command: clear int ethernet0
(You must be in config mode for this command to work.)
To set speed/duplex, again go into config mode and issue this command: interface ethernet0 100full
Also, the following URL might be of interest...
Hope this helps - Thanks, Jay
10-16-2003 12:24 PM
to clear the interface counters use
clear int ethx
02-10-2015 01:00 AM
On ASA version 9.0 use
clear access-list (access-list/group-name - ie. dmz_in,inside_in etc) counters
10-16-2003 11:48 PM
Hi,
Try command:
> clear access-list
This clears the counters shown by the show access-list command.
To clear counters on an interface, go into config mode and issue this command: clear int ethernet0
(You must be in config mode for this command to work.)
To set speed/duplex, again go into config mode and issue this command: interface ethernet0 100full
Also, the following URL might be of interest...
Hope this helps - Thanks, Jay
10-17-2003 07:26 AM
That worked! Thanks. Strange that you have to do it in config mode rather than priv. exec. (enable mode) and that is what I was doing wrong. Have a good one!
Jeff
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide