I'm the author of Net::Telnet::Cisco. You can always find
the most recent copy at:
ftp://ftp.cpan.org/CPAN/authors/id/J/JO/JOSHUA/
At the time of this writing, Aug 1, Net::Telnet::Cisco
is up to v1.03.
Here are some of the nice things about it:
1. The default prompt works for a variety of hosts. I spent
the time figuring it out so you don't have to.
2. The error-handling that Net::Telnet provides allows you
to call a sub when an error occurs. Net::Telnet::Cisco
handles all router-generated errors that match /^%/, which
is almost all of them.
Still curious? Take a look at the Net::Telnet::Cisco
README in http://search.cpan.org/ to get an idea of
what you can accomplish with the module.
Future plans: I'd like to include an EXAMPLES section which
discusses common tasks (e.g. backing up the running-confg
aka performing a write net aka performing a copy)
Yours,
Joshua | [reply] |
What needs to be changed in you code to replace telnet with regular console or modem connection?
Marek Ptak
mptak@cme.com
| [reply] |
I'm still having problems with Net::Telnet::Cisco when I try to enable. Seems our routers use an extended login for enable which this module doesn't account for. The router doesn't just simply ask for the password but expects the username first. Has anyone gotten around this?
Kevin
| [reply] |
Have you found the solution yet? I'm having the same problem. Thx.
CL
| [reply] |
| [reply] [d/l] |
Ah poopy, Thats been sitting in my scripts dir for 3 months now
oh well :)
/****************************/
jason@gost.net, wh@ckz.org
http://jason.gost.net
/*****************************/
| [reply] [d/l] |
| [reply] |