08-29-2011 06:47 AM
Hello, may be somebody have working tcl script which edit ACL in "user friendly mode", I found this
but for some reason it's not working
Solved! Go to Solution.
08-29-2011 08:11 AM
I wrote this script a long time ago. It worked then, and should work now. However, the presentation does not include the full code. You can download that script and more at http://www.marcuscom.com/BRKNMS-3021.zip . The script is called edit_acl.tcl.
08-29-2011 08:11 AM
I wrote this script a long time ago. It worked then, and should work now. However, the presentation does not include the full code. You can download that script and more at http://www.marcuscom.com/BRKNMS-3021.zip . The script is called edit_acl.tcl.
08-29-2011 09:42 PM
Thank you Joseph! It's realy working, is it posible to change this script for named acl using?
thanks a lot
08-29-2011 10:42 PM
Sure, but it would require work to get all of the ACEs as they do not begin with the "ip access-list" command. You'd have to replace the CLI command in the get_acl function with something like:
"show run | section ip access-list .* $acl"
Some of the other ios_config commands will need to be adjusted as well to handle the named ACLs.
08-30-2011 05:15 AM
thanks Joseph, I'm not good in coding, I tried to change script for named acl using but failed, decide just change my named acl to numbered acl, I think it will work
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide