Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 338
  • Last Modified:

cisco routers need to create a script

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
c_hockland
Asked:
c_hockland
1 Solution
 
koudryCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Worried about phishing attacks?

90% of attacks start with a phish. It’s critical that IT admins and MSSPs have the right security in place to protect their end users from these phishing attacks. Check out our latest feature brief for tips and tricks to keep your employees off a hackers line!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now