Skip to main content

Using Expect and TCL scripts to gather device configurations

From time to time I have to gather device configurations for storing them remotely or parsing using different scripts. Expect and TCL scripts are very handy as you can automate these configuration backups using just a short simple script. TCL and Expect are quite powerful, so you can do much more with these, this is just a little example on how useful these really are.

First you have to install TCL and Expect. Below you can see how to install these on CentOS 6.6 using Yum, which is really straightforward.

Read More