RE: Best way to login, run a command, view output, repeat on a

From: Scott Morris (smorris@internetworkexpert.com)
Date: Wed Nov 19 2008 - 19:33:52 ARST


Kiwi's Cattools is good.. Also, you can do scripting with SecureCRT.

HTH,

Scott Morris, CCIE4 #4713, JNCIE-M #153, JNCIS-ER, CISSP, et al.
CCSI/JNCI-M/JNCI-ER
Senior CCIE Instructor

smorris@internetworkexpert.com

 

Knowledge is power.
Power corrupts.
Study hard and be Eeeeviiiil......
 

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Hobbs
Sent: Wednesday, November 19, 2008 12:35 PM
To: Cisco certification
Subject: OT: Best way to login, run a command, view output, repeat on a
bunch of routers

Hello,

I am looking for a way to automate the following:

1) Log into a router (hostname taken from a list of router names or IP
addresses)

2) Run the command "show int | inc proto|error"
   (to see the number errors on a all interfaces of a router)

3) Put the output in a file or display it on the terminal

4) Move on to the next router.

I have been looking at the Net::Telnet::Cisco module for Perl but I am not
too handy with Perl (but I am learning it).
Is there a better way to do it?

thanks

Blogs and organic groups at http://www.ccie.net



This archive was generated by hypermail 2.1.4 : Mon Dec 01 2008 - 08:18:31 ARST