CraSSH

Cisco Remote Automation via SSH (or C.R.A.SSH for short) is a python script for automating commands on Cisco devices.


Keywords
Cisco, SSH, Automation, IOS, Router, Switch, Firewall, ASA, Catalyst, cli, python
License
GPL-2.0
Install
pip install CraSSH==2.8

Documentation

C.R.A.SSH

C.R.A.SSH (crassh) stands for Cisco Remote Automation via SSH, it is a python script for automating commands on Cisco devices.

Travis CI: continuous integration status Documentation Status

Crassh can be used in two ways:

  • a stand alone script that users (Network Admins) can run to perform actions on Cisco devices
  • a module developers can import and leverage in their own scripts

The documentation is available here: http://crassh.readthedocs.org

My personal blog contains a tutorial here on how to use crassh in standalone mode and an initial example on how to use the crassh module. Future news about crassh can be found here.

Disclaimer

The word Cisco is used as a description because this script should work with any Cisco IOS device. Cisco is a registered trademark of Cisco Systems Inc; this script is not associated, endorsed, supported or affiliated in any way with Cisco and none of these are implied.