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

Insert a access-list rule

rico_hao40
Level 1
Level 1

Hi,

If I need to add a new rule in the middle of an exist ACL, do I have to re-write the whole ACL? Can I just add this rule to the right place based on access-list sequence number?

Thanks

1 Reply 1

vitripat
Level 7
Level 7

If you are running 6.3 code, you can add access-list at any position you want. This can be done using "line no." in the access-list command. For eg. I can use following command to add access-list at porion 10 in the existing ACL of 20 lines:

access-list 101 line 10 permit ip any any

Hope this helps.

Regards,

Vibhor.

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