cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1508
Views
0
Helpful
3
Replies

clear one access-list line

A co-worker asked me if it is possible to clear only one line of an access-list on an ASA. I've never had the need to do that but I'm curious now. Can it be done?

1 Accepted Solution

Accepted Solutions

Jaderson Pessoa
VIP Alumni
VIP Alumni
Hello,

Ind addtion above comment.

no permit ip x.x.x.x(ip) x.x.x.x(mask)
Jaderson Pessoa
*** Rate All Helpful Responses ***

View solution in original post

3 Replies 3

Mike.Cifelli
VIP Alumni
VIP Alumni
Yes. It would look like this:
conf t
IP access-list ext ACL
no 10 (sequence number of the line you want to remove)
Good luck!

Jaderson Pessoa
VIP Alumni
VIP Alumni
Hello,

Ind addtion above comment.

no permit ip x.x.x.x(ip) x.x.x.x(mask)
Jaderson Pessoa
*** Rate All Helpful Responses ***

The other two answers are only valid for IOS, not for the ASA. On the ASA you also remove the one line with a "no" in front of that line. Or are you referring to a "clear counter" for that ACE? That is not possible.

Review Cisco Networking for a $25 gift card