08-02-2006 09:17 PM - edited 03-03-2019 01:32 PM
Sorry to post this stupid question.
show ip access-list examplelist
10 permit......
20 permit......
30 permit......
How can I add another permit line between 10 and 20?
This is for grouping and easy-to-read reasons.
Thanks in advance.
Solved! Go to Solution.
08-02-2006 09:33 PM
Hi,
Do the following:
conf t
ip access-list examplelist
15 permit ....
i.e. use a sequence number between 10 and 20 and it will place the line between the two.
Hope that helps - pls do rate the post if it does.
Paresh
08-02-2006 10:16 PM
Hi,
No, it does not depend on the tool you are using to do telnet. You can also copy paste from the DOS-prompt! And its good that you are using PuTTy, its gooood! You can use the 'logging' feature and easily get your access list in a text file! You just need to change the settings and you'll be done!
Hope this helps!
Regards,
AbhisheK
08-02-2006 09:33 PM
Hi,
Do the following:
conf t
ip access-list examplelist
15 permit ....
i.e. use a sequence number between 10 and 20 and it will place the line between the two.
Hope that helps - pls do rate the post if it does.
Paresh
08-02-2006 09:48 PM
Thanks Paresh.
Another question if I may: what about if there are too many additions in the access list and I want to re-number them from:
10 permit....
11
12
13
20
30
40
to:
10 permit.....
20
30
40
50
60
70
08-02-2006 09:51 PM
Hi,
You can also edit your access list in the notepad. Copy the access list in notepad and then edit according to your needs. Then delte the original list by issuing a 'no' command and then paste the new modified list. And do remember do save your configuration!!!
Hope this helps!
Regards,
AbhisheK
Please rate all posts!!!
08-02-2006 09:54 PM
Thanks AbhisheK.
What do you mean by "paste the new modified list"?
I am just telnetting into the router. Do you mean to use tftp to update it?
08-02-2006 10:00 PM
No you can copy it from notepad, by pressing CTRL+A and then CTRL+C or by right clicking choose 'select all' and then choose'copy'.
After that you can paste it by right clicking at the config# prompt. According to me it is an easier way od editing the access lists.
Regards,
AbhisheK
Please rate all helpful posts!
08-02-2006 10:04 PM
AbhisheK, your suggestion seems very helpful!
I will give it a try first and let you know how it goes.
08-02-2006 10:05 PM
AbhisheK, one last question.
The method that you suggested - does it depend on the tool that I use to telnet? I am currently using putty.
08-02-2006 10:16 PM
Hi,
No, it does not depend on the tool you are using to do telnet. You can also copy paste from the DOS-prompt! And its good that you are using PuTTy, its gooood! You can use the 'logging' feature and easily get your access list in a text file! You just need to change the settings and you'll be done!
Hope this helps!
Regards,
AbhisheK
08-02-2006 10:31 PM
Bravo! It works perfectly.
Thanks AbhisheK.
08-02-2006 10:34 PM
Its nice to know that your issue was resolved.
You are welcome!!!
Regards,
AbhisheK
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: