This is a simple script written in Expectk. The purpose of this script is to allow entering the Telnet server name or address and the username/password combination (one time), then having the script open a telnet session, login to the Telnet server, then launch a telnet session from the telnet server to the device and drop you on a command prompt. As stated in the title, the prompts are what’s to be – expected (get it, expected, Expect script? – ahh, forget it
– from a Cisco IOS device using username/password authentication.
Continue reading “Expect Telnet Script – specific to Cisco devices” »
