cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
585
Views
0
Helpful
1
Replies

Removing hitcount=0 lines in ASA

Borman Bravo
Level 1
Level 1

Hi, I was wondering what was the best way to remove a large number of lines in an ACL for an ASA, I've alerady identified all zero hit lines that I would like to remove from my ACL but it is about 200 lines, is there a way to do this in one shot instead of doing a "no" line by line, remember that I would need to start from the bottom since line numbers adjust in a new order when a line is removed, thanks!

1 Reply 1

Julio Carvajal
VIP Alumni
VIP Alumni

Hello Borman,

You will need to go one by one, there is no command to delete a specific bounch of lines on an ACL,now if you would like to remove a complete access-list the command would be:

          -clear config access-list xxxxx

Hope this helps,

Regards.

Julio

Julio Carvajal
Senior Network Security and Core Specialist
CCIE #42930, 2xCCNP, JNCIP-SEC
Getting Started

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:

Review Cisco Networking products for a $25 gift card