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

Deleting ACL removes access-group 101

slayerhawk
Level 1
Level 1

Hey all. I was trying to delete a recently added line to acl 101. I copied acl 101 to notepad, removed the line..Did a no access-list 101 on the PIX 515, then copied in my corrected acl into the PIX.

After an hour of searching, I found that removing the acl 101 actually caused the "access-group 101" line further down in the configuration to disappear.

Can someone explain this to me? What is the best way to delete just one line from an ACL?

Thanks

1 Reply 1

purohit_810
Level 5
Level 5

Run command: sh access-list | i {IP address}

You will see related access-list with line:

access-list 102 line 14 extended permit udp any any eq www

Or

access-list 102 line 4 extended deny tcp any host XX.XX.XX.XX eq www

Put NO command

No access-list 102 line 4 extended deny tcp any host XX.XX.XX.XX eq www

It will be delete only one partucular Access-list.

Don't fear.

Regards,

Dharmesh

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: