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

Clearing hitcnt on a access-list

I was looking and didn't seem to find a way to clear the hitcnt on a access-list other than deleting and redoing the access-list. Does anyone know how to do this?

Thanks

J

access-list nonat permit ip x.x.x.x 255.255.255.240 any (hitcnt=72408)

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: Clearing hitcnt on a access-list

In 6.1(4) code and above you can use:

> clear access-list nonat counters

In pre-6.1(4) code you have to remove and re-add the ACL in.

2 REPLIES
Cisco Employee

Re: Clearing hitcnt on a access-list

In 6.1(4) code and above you can use:

> clear access-list nonat counters

In pre-6.1(4) code you have to remove and re-add the ACL in.

New Member

Re: Clearing hitcnt on a access-list

Thanks, thats what I was looking for.

J

103
Views
0
Helpful
2
Replies
CreatePlease to create content