Solved

cisco routers need to create a script

Posted on 2013-12-06
1
321 Views
Last Modified: 2013-12-09
Hi ,
i need to check and verify dial backup connection on 600 routers
the commands i use are

sh ip int brief
then i see the Lo0 ip lets say 1.1.1.1
then
at
atdt < our noc number >

is there a way to script it ?
0
Comment
Question by:c_hockland
1 Comment
 
LVL 10

Accepted Solution

by:
koudry earned 500 total points
ID: 39704789
If you are using Cisco platform, Cisco has provided a number of tools in the IOS that can be used for scripting, scheduling and automation, e.g. TCL shell scripting tool, Kron scheduling and EEM.

(1) TCL Shell

http://www.cisco.com/en/US/docs/ios-xml/ios/ios_tcl/configuration/12-4t/nm-script-tcl.html

(2) Kron scheduling

You can use the kron schedule to automate the script, i.e. if you need the script to run at a particular time on a particular frequency.

http://www.cisco.com/en/US/docs/ios-xml/ios/ios_tcl/command/ios-tcl-cr-c1.html

(3) EEM (Embedded Event manager)

If you want to do something when certain events happen, then Cisco EEM is a good tool.

https://supportforums.cisco.com/docs/DOC-27996

http://www.cisco.com/en/US/products/ps6815/products_ios_protocol_group_home.html
0

Featured Post

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!

Question has a verified solution.

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

Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
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 (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), 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…
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…

914 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

13 Experts available now in Live!

Get 1:1 Help Now