|
|
| No such thing as a small change | |
| PerlMonks |
Re: Net::Telnet::Cisco Login Problemby bobn (Chaplain) |
| on Sep 12, 2003 at 09:34 UTC ( [id://291033]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Net::Telnet Cisco is a subclass of Net::Telnet which has methods for turning on logging of data to/from the router, which would give you some ideal of what is going on, instead of saying "something broke". My recollcection is that Net::Telnet::Cisco can deal with receiving a password prompt instead of a username prompt upon connection. You may need to override the login method to deal with needing to send a login command before getting username and password prompts. Update: Actually you'll want to leave the login method alone, coying the parts you need out of it into a new method, I think. --Bob Niederman, http://bob-n.comAll code given here is UNTESTED unless otherwise stated.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||