Skip to content

Automate your Cisco ASA devices by passing commands from a text file. Uses the Netmiko/Paramiko libraries.

Notifications You must be signed in to change notification settings

JoshuaSmeda/ciscoasa_automation

Repository files navigation

contributions welcome

Guide on how to use Cisco_Automation script

*This script only supports Cisco ASA devices.

  • Specifying multiple cisco devices is supported - you'll need to add the devices to the Add_Cisco_Device function which stores Cisco details within a list. See -mc argument or --help
  • If there is a demand for a large number of change control configurations to be made to multiple devices quickly - threading can be included.
  • You can test connectivity to Cisco devices by using cisco_test.py before creating a scheduler - crontab guru
  1. Install prerequisties:
    sudo pip install -r requirements.txt

  2. View available argument options by running the following:
    python cisco_automation.py --help

  3. Insert necessary change control commands - note that these commands must be run within en / conf term on the Cisco device:

vi change_control.conf

Include the cisco commands you wish to run - one command per line. Specify file when running the script (see option 2)

If you wish to specify multiple Cisco devices by running the following (replace the IP's with your actual IP's):
python cisco_automation.py -mc 192.168.1.1, 192.168.1.2, 192.168.1.3

About

Automate your Cisco ASA devices by passing commands from a text file. Uses the Netmiko/Paramiko libraries.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages