FYI, there may be a more effective way than writing your own script.
Check out RANCID. It will manage just about any device from just
about any vendor and manage the configs and changes through CVS. This
of coarse gives you a nice revision history when things go wrong.
You may want to check with your vendor, many switches/routers can be
logged into with a public key now.
RANCID uses expect scripts to do the logins.
--
Tim Donahue
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.