in reply to Net Telnet Cisco Complications

It's likely your telnet is working. But the prompt your mail server is using isn't the prompt that Net::Telnet::Cisco is using. So it never matches the expected 'router>' prompt and therefore times out.

You'll have to play with the prompt.

Why are you doing this in the first place. It feels wrong.

Replies are listed 'Best First'.
Re: Re: Net Telnet Cisco Complications
by ypcat (Beadle) on Mar 19, 2002 at 18:34 UTC
    Hehe it feels wrong, I knew someone would think something. No I am not doing anything wrong. I work for an ISP and the lead engineer saw the code I was working, which was a script that sends and receives mail on all our mail servers. Then he started making suggestions, and his best suggestion was to source my telnet to the mail servers off the routers that way when I connected to the mail server it would be just like I was a customer.


    Thanks,
    YpCat