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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!


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 our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Managing 24/7 IT Operations is a hands-on job and indeed a difficult one. Over the years I have found some simple tips and techniques to increase the efficiency of the overall operations. The core concept has always been on continuous improvement; a…
Use of TCL script on Cisco devices:  - create file and merge it with running configuration to apply configuration changes
Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
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…

733 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