Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

RE: cisco.pm (cisco.pm at CPAN also)

by ybiC (Prior)
on Jul 19, 2000 at 16:51 UTC ( #23170=note: print w/replies, xml ) Need Help??


in reply to cisco.pm (whoopdee doo) ;P~

Stuff like this always interests me. I'm not terribly grokful of OOP, so can't comment on how horrible (or good) your code is.

This http://search.cpan.org/doc/JOSHUA/Net-Telnet-Cisco-1.01/Cisco.pm just appeared at CPAN last week. So you may have been re-inventing the wheel. An interesting exercise, nonetheless.
    cheers,
    ybiC

Replies are listed 'Best First'.
Net::Telnet::Cisco (was cisco.pm)
by ua (Initiate) on Aug 02, 2000 at 05:00 UTC
    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
      What needs to be changed in you code to replace telnet with regular console or modem connection? Marek Ptak mptak@cme.com
      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
        Have you found the solution yet? I'm having the same problem. Thx. CL
      Aright, I guess its time I do like Net::Telnet::LIVPM3 for livington portmaster 3's :)



      lindex
      /****************************/ jason@gost.net, wh@ckz.org http://jason.gost.net /*****************************/
RE: RE: cisco.pm (cisco.pm at CPAN also)
by lindex (Friar) on Jul 20, 2000 at 02:31 UTC
    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 /*****************************/
      Any Network Programming Monks have a few spare cycles to compare & contrast the two cisco.pm modules?

      It would be very illuminating for me, and lindex kinda asked for feedback on his code.
          cheers,
          ybiC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://23170]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2019-04-20 04:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I am most likely to install a new module from CPAN if:
















    Results (108 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!