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

Re: need help to connect switch 192.168.1.2 using perl script.

by VinsWorldcom (Parson)
on Aug 17, 2012 at 14:27 UTC ( #987979=note: print w/replies, xml ) Need Help??


in reply to need help to connect switch 192.168.1.2 using perl script.

I see "show running-config" and assume you mean a Cisco switch. If that's right, Net::Telnet::Cisco is a great place to start.

If you don't want to reinvent the wheel and can deal with a script that does A LOT MORE than just Telnet to Cisco switches, have a look at (shameless plug) Cisco Router Action Performing Perl Script

  • Comment on Re: need help to connect switch 192.168.1.2 using perl script.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://987979]
help
Chatterbox?
holli just tried to open a soda bottle with a bottleopener
[holli]: ok, that doesn't *sound* that bad
[Corion]: holli: Was it a "twist-to-open" soda bottle? Or a German Mehrweg bottle with a twisty cap?

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (9)
As of 2017-09-25 12:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (280 votes). Check out past polls.

    Notices?