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

From: Walter Gibbons (wgibbons@gmail.com)
Date: Wed Nov 19 2008 - 20:27:45 ARST


Lol...If only there was a way to automate repetitive tasks using some sort
of electronic device and some language to tell it what to do...

On Wed, Nov 19, 2008 at 12:40 PM, Joseph Brunner <joe@affirmedsystems.com>wrote:

> 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
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html

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