Re: Off Topic Executing Commands with perl script

From: Adam Asay (aasay@cerberian.com)
Date: Fri Mar 05 2004 - 15:00:26 GMT-3


I have added the prompt you recommended Bob, and also added the input_log you
recommended Tim. What I get in the log is:

User Access Verification

Username: user
Password:

Then it times out. Normally when you telnet into a router you get a prompt
back, but when you telnet to an async line on a terminal server it does not
return anything. You have hit enter before you get a prompt. Does anyone
know how I can get around this.

I appreciate all the help.

-Adam

On Thursday 04 March 2004 4:34 pm, Tim Fletcher wrote:
> Set the Input_log parameter to a filename. Run the script, the take a look
> at the file it created. This should tell were it's failing.
>
> -Tim Fletcher
>
> At 07:10 PM 3/4/04, Adam Asay wrote:
> >Sorry for the off topic, but I haven't been able to find anything on this.
> >
> >I am using the perl module net::telnet:cisco to try and script some
> > managment tasks. Everything works great until I try and login to a
> > router threw a terminal server.
> >
> >I get a "pattern match timed-out" error.
> >
> >Has anybody seen this, or can someone at lease point me in the right
> > direction on how to resolve it.
> >
> >Thanks
> >Adam
> >
> >_______________________________________________________________________
> >Please help support GroupStudy by purchasing your study materials from:
> >http://shop.groupstudy.com
> >
> >Subscription information may be found at:
> >http://www.groupstudy.com/list/CCIELab.html
>
> _______________________________________________________________________
> Please help support GroupStudy by purchasing your study materials from:
> http://shop.groupstudy.com
>
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Thu Apr 01 2004 - 08:15:14 GMT-3