Hello All,
I am trying to write a simple (I think) Expect script to log into a router and change an access list. The access is quite large and the content changes daily, mainly the IP address. I would like to have the script load the list using just one send command after the intial login. I'm somewhat new to scripting, maybe I'm going about it all wrong? The way I was looking was for Expect to read the least, maybe in a for loop, and send each command inidividually. Any ideas?
Start Free Trial