Running one or more interactive CLI commands is a common task in network management. Having a script to automate this task becomes a critical tool.
This script automates interactive TELNET or SSH sessions. Any command that can be issued in CLI can be issued via the VTY run command script in an automated fashion. Below are some example uses:
* Run a set of commands on hundreds of devices
* Configuration changes
* Archive configurations and software
* Audits, inventory and discovery
* Automated troubleshooting
Requirements
This script is written in Expect. A current version of Expect is required. Expect and installation requirements for Expect can be found at Expect Homepage
Tested on RHEL 5 running expect 5.43.0-5.1 and Mac OS X 10.6 running Expect 5.44.1.11.
The script is platform independent and should run on any platform that can run Expect.
Popularity: 1% [?]
Interesting for you :
Digging through Internet I've found a very good article from David Davis explaining how to make ...
//Usually big companies with large network have a dedicated department which deals with ...
In this article I want to show you how to extend your posibilities to test a network in GNS3. Su ...
One of the most used method for remote access today is SSH protocol. Even most on the network en ...
Now and then everybody in IT network industry has to stay awake over the night to accomplish som ...