cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2739
Views
0
Helpful
4
Replies

Editing extended ACL

rshum
Level 1
Level 1

I have an extended ACL on a switch (a 6504 running 12.2) I want to edit. The acl is named:

Extended IP access list Name-TO-Name

permit ip host 10.170.16.123 host 172.16.100.10
permit ip host 10.170.16.123 host 172.16.100.62
permit ip host 10.159.10.57 host 172.16.100.10
permit ip host 10.159.10.63 host 172.16.100.10
deny   ip any 172.16.100.0 0.0.0.255
permit ip any any

I want to add a couple of networks in prior to the Deny statement and can't figure it out. I can't even edit the ACL for some reason. I know I'm having some sort of brain lock but any suggestion would be appreciated.

Thanks

1 Accepted Solution

Accepted Solutions

glen.grant
VIP Alumni
VIP Alumni

Do a show access lists and you will see order numbers on the left side.  Just pick a number between where you want them in the list and use that number before the  ACL entry .  They normally start at 10 and go up , it will look like 0010 for the first entry and 0020 for the 2nd  entry, if you want a statement between the first and second then pick  0011 for the entry number  then enter ACL entry after this number.

View solution in original post

4 Replies 4

glen.grant
VIP Alumni
VIP Alumni

Do a show access lists and you will see order numbers on the left side.  Just pick a number between where you want them in the list and use that number before the  ACL entry .  They normally start at 10 and go up , it will look like 0010 for the first entry and 0020 for the 2nd  entry, if you want a statement between the first and second then pick  0011 for the entry number  then enter ACL entry after this number.

Thanks for the reply I figured it out also. I think if I limit myself to processing 2 issues at a time I won't get all brain locked LOL. Thanks for the information though.

A Abdul
Level 1
Level 1

Inserting the new statements before the deny stmnts will work based on acl numbers. or rebuilding the entire ACL.

I've always edited my extended ACL's in a program like word pad,

the deleted the old ACL, and copy/paste the new one in.

I didn't realise that there was any way to insert commands.

I'll try that method, but i still think its going to be easier to edit them offline.

Regards,

John.

Review Cisco Networking products for a $25 gift card