Create VBS Script to telnet and program Cisco IAD2420s

Posted on 2007-04-03
Last Modified: 2008-01-09
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.
Question by:killerspots
  • 3
  • 3
LVL 22

Expert Comment

by:Reid Palmeira
ID: 18893991
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?

Author Comment

ID: 18894480
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.
LVL 22

Expert Comment

by:Reid Palmeira
ID: 18894788
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?

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
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.


Author Comment

ID: 18897623
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.
LVL 22

Accepted Solution

Reid Palmeira earned 250 total points
ID: 18902154
ok, still not quite sure what you're looking for in a script.
Do you need someone to help you design the script from scratch? or just give you some starting point? What are the high level requirements? What kind of routers (IOS commands vary)

Some starting resources, I would suggest:

Author Comment

ID: 19113407
Thanks. rpalmeira22

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

In my office we had 10 Cisco 7940G IP phones that were useless as they were showing PROTOCOL APPLICATION INVALID when started. I searched through Google and worked for a week continuously on those phones, and finally got them working. This is a di…
David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now