cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3539
Views
5
Helpful
5
Replies

PIX 525 - adding a line to existing access list

tgurney
Level 1
Level 1

Been a while since I had to config a pix. When and access-list exists and is attached to an interface with the access-group command, what are the rules for adding a line to the list? Can I just add a line - where in the list does it end up? There is no deny all explicitly configured in the access-list.

1 Accepted Solution

Accepted Solutions

Hi

On pix v6.x you can delete an individual line within the access-list and it won't delete the access-list.

Jon

View solution in original post

5 Replies 5

Jon Marshall
Hall of Fame
Hall of Fame

Hi

you don't say which version of software on Pix but assuming v6.x onwards.

Do a "sh access-list name_of_access-list"

When you view the output it will have line numbers included. So to insert a rule to allow icmp from any to any at line 2 of your access-list

access-list name_of_access-list line 2 permit icmp any any

HTH

Jon

And if there is already a line 2 it slides all the other rules down one?

Yes, exactly.

flopez
Level 1
Level 1

The rules are: add a line OK. Delete a line = bad. It will wipe out your ACL and remove the access-group from the interface.

Copy your existing ACL into a text editor and add the additional line just to be safe. it is okay to copy everything back, it won't affect anything this way. And there is a Deny all at the end but you may not see it.

Hi

On pix v6.x you can delete an individual line within the access-list and it won't delete the access-list.

Jon

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