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. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

command to clear ACL hit count and interface stats

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

  • Other Security Subjects
1 ACCEPTED SOLUTION

Accepted Solutions
Gold

Re: command to clear ACL hit count and interface stats

Hi,

Try command:

> clear access-list counters

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...

http://www.cisco.com/en/US/products/sw/secursw/ps2120/products_configuration_guide_chapter09186a0080172786.html#1112250

Hope this helps - Thanks, Jay

4 REPLIES
New Member

Re: command to clear ACL hit count and interface stats

to clear the interface counters use

clear int ethx

New Member

On ASA version 9.0 useclear

On ASA version 9.0 use

clear access-list (access-list/group-name - ie. dmz_in,inside_in etc) counters
 

Gold

Re: command to clear ACL hit count and interface stats

Hi,

Try command:

> clear access-list counters

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...

http://www.cisco.com/en/US/products/sw/secursw/ps2120/products_configuration_guide_chapter09186a0080172786.html#1112250

Hope this helps - Thanks, Jay

New Member

Re: command to clear ACL hit count and interface stats

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

13614
Views
5
Helpful
4
Replies