Script for acl automation

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2018 02:56 PM - edited 03-01-2019 06:33 PM
I have a number of asa acl's that need to be updated on a periodic basis. They are all updated in a similar manner but just have three variables that change for each entry. I would like to have a method to automate this. What i'm wondering if can be done is to enter three variables(acl name, line number, destination subnet etc)and have the ace returned as output. Is this something that can be done in perl, eem, tcl, or something else?
- Labels:
-
Network Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2018 08:00 PM
Hi
Not 100% sure (has to be validated) tcl isn't supported on asa.
The best way to handle that is running a perl or python script that'll connect on all your boxes and get these informations for you.
With which tool are you more comfortable.
Behind the scene, you'll need to paste the acl output to get the line you requested through a variable.
Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question
