Skip to content

This is a Python Paramiko script for network device configuration via SSH.

Notifications You must be signed in to change notification settings

certifiedg33k/netscript

Repository files navigation

netscript

This is a Python/Paramiko script that I used to automate configuration task on network devices via SSH.

This script assumed you have an username with administrative privilege. It is tested working with Cisco IOS, Cisco ASA, Juniper SRX and HP Comware network devices with SSH.

Usage:
./netscript.py 
netscript.py -t <target> -u <username> -p <password> -c <command_file> -v

-t target IP address / hostname
-u username
-p password
-c command file (contains set of commands)
-v verbose

Tested working with Python version 2.7.3 and Paramiko 1.7.7.1 Library

For detailed guide, visit (http://certifiedgeek.weebly.com/blog/network-scripting-via-ssh-with-python-and-paramiko)

WARNING: This script is currently under development. Use at you own risk.

About

This is a Python Paramiko script for network device configuration via SSH.

Resources

Stars

Watchers

Forks

Packages

No packages published