Create VBS Script to telnet and program Cisco IAD2420s

Posted on 2007-04-03
Medium Priority
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? 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


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 750 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:
COSI: http://cosi-nms.sourceforge.net/alpha-progs.html
Cirrus: http://www.solarwinds.net/products/cirrus/index.aspx

Author Comment

ID: 19113407
Thanks. rpalmeira22

Featured Post

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

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

If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
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!
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

764 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