forked from tmshlvck/rat
-
Notifications
You must be signed in to change notification settings - Fork 0
Router Administration Toolkit
License
xapache/rat
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Router Administration Toolkit Simple toolkit for connecting and issuing commands or interacting with various network devices over SSH or any other text interface. There are two distinct interfaces: * Python object interface * Command line interface Supported devices so far: * Cisco IOS (tested: 12.2, 15.0, 15.2) * Cisco NX-OS (tested: 6.0) * HP ProCurve switches (tested: 2610 + 2810 series) * Brocade Ironware (tested: 7.x + 8.x) Interactions: * Python interface: TODO * Bash: TODO List all enabled hosts: while read shortname hostname type enab username pass enabpass; do # whaterver you need echo "Hit host: $hostname" done <<EOF $(./rat-list -p) EOF Connect to the host and run command: ./rat-com -c "show version" shortname ./rat-com -c "show version" hostname.domain.tld Connect to the host and start interactive session: ./rat-com shortname ./rat-com hostname.domain.tld Of course you can provide you own host defition (username, passwords, ...) on the command line. Please see ./rat-com --help for details. Examples + applications: Directory example contains various examples that uses rat toolkit for network administration and operation automation. Author(s): Tomas Hlavacek ([email protected])
About
Router Administration Toolkit
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Python 75.1%
- Shell 24.9%