Link to home
Start Free TrialLog in
Avatar of killerspots
killerspots

asked on

Create VBS Script to telnet and program Cisco IAD2420s

Need help making a VBS script to do the following for a Cisco IAD2420...
The script logs into a 1st box that is home to the necessart files. then from that box into a 2nd box. The second box is the IAD2420 which goes out to our client's site. We need to custom program each one.  The following command structure is more or less how we go about programming the boxes. Excluding the occasional Note added for reference.

The goal is to automate the programming of each box with a VBS script that will prompt for the variable content and send the output to a telnet session on the second box so it is ready for install.
Avatar of Reid Palmeira
Reid Palmeira
Flag of United States of America image

what kind of help are you looking for exactly? setting up the basic VBS ? or are there specific questions on setting up the Cisco IAD?
Avatar of killerspots
killerspots

ASKER

I specifically Was looking for a way to automate the setup of our Cisco IAD's since we do about 20-50 per day.

But using VBS file would allow me to make quick simple changes with the platforms we have in place. Many of our products are controlled by our field tech's who link to them with laptops that are without internet access and therefore would have problems reaching our main offices and servers. More of a way to force the techs to use the required format by running one simple program (file) instead of manually enterting all of the commands... Very few of the techs are Cisco friendly at this time and I doubt this will change in the near future.
one of the catches I've found with setting up scripting like this is that unless ou're doing a very limited feature set of deployment the script gets to be really complex. EG if you're using PPP on customer but mayve some frame relay on another customer account for those differences can be a pain to manage via script. Typicallly we just setup a template config file with the different options then walk the tech through when to use different templates and what to modify in each. It's not always very nice, but we've found that relying too heavily on scripted setup can be a pain when you get a one-off setup.

If you're a cisco shop, have you looked at CNS configuration engine? http://www.cisco.com/en/US/products/sw/netmgtsw/ps4617/index.html

20-30 a day sounds like you might be able to justify something like this. particularly when you get to managing config backups and troubleshooting
This could very well be what our main office uses after the products are installed but what we install to get things linked up initially is very specific. The only things that change are the IP, Subnet Mask, and gateway. Everything else stays the same. We create the intitial security and login access on each box. Using some sort of simple form to ask for the dynamic info everything else is embedded. But since I am not a VBS programmer I was looking for help actually designing a script.
ASKER CERTIFIED SOLUTION
Avatar of Reid Palmeira
Reid Palmeira
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks. rpalmeira22