cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2523
Views
0
Helpful
3
Replies

script to load a list of ip address

jmolina0111
Level 1
Level 1

First, thanks for the help.

I need to create a script to load a list of IP addresses to filter.
I created a network group, and I followed this document to add hosts using CLI.

https://supportforums.cisco.com/discussion/10801661/editing-hosts-already-configured-object-group-asa5520

My question is how can I do it in a SCRIPT.

thanks for everything !!!

1 Accepted Solution

Accepted Solutions

Absolutely you can!

I used Python to create a list of IPs add them to a group then adds that group to an ACL ASA5505.  

It all depends on what exactly you're trying to accomplish.

i've attached the python script i made.

Basically it takes an input file, and creates a script on an output file you can paste into the ASA Firewall.  

Hope that helps

View solution in original post

3 Replies 3

Absolutely you can!

I used Python to create a list of IPs add them to a group then adds that group to an ACL ASA5505.  

It all depends on what exactly you're trying to accomplish.

i've attached the python script i made.

Basically it takes an input file, and creates a script on an output file you can paste into the ASA Firewall.  

Hope that helps

this is all that i need !!!

thanks sir !!! great job !!!

one catch i created that on a MAC i tried it on windows and it didn't work.  so if you have windows it might take some tweaking.

Review Cisco Networking for a $25 gift card