From: Joseph Brunner (joe@affirmedsystems.com)
Date: Wed Nov 19 2008 - 15:40:11 ARST
That is the best way I think; that's how I do it...
-----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