|
|
| Pathologically Eclectic Rubbish Lister | |
| PerlMonks |
Re: Unable to get Net::Telnet::Cisco to connect to routerby shockme (Chaplain) |
| on Nov 13, 2003 at 22:58 UTC ( #306961=note: print w/ replies, xml ) | Need Help?? |
|
I'm not sure why that's not working. Here's a sample from a script which does work:
Hope that helps. Update: I think see why your script isn't working. According to the Net::Telnet::Cisco docs, you need to issue a login command: Your script seems to be correctly setting up the session, but you're issuing commands before you've logged into the router. If things get any worse, I'll have to ask you to stop helping me.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||