Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: Net::Telnet on routers and switches

by pbwiz1970 (Initiate)
on Mar 06, 2007 at 17:22 UTC ( [id://603465]=note: print w/replies, xml ) Need Help??


in reply to Re: Net::Telnet on routers and switches
in thread Net::Telnet on routers and switches

Thanks for all the replies. I was able to get it to work, by modifying the Prompt setting on the cmd call. For some reason, this prompt setting did not work,
Prompt => '/[>|#|\)|:]\s*$|\s/'
although it works elsewhere using the same method. Not sure I understand why, but my experience is that Perl is funny that way. Anyway, I was able to use
Prompt => '/#/'
I will have to expand on that for the 1% of devices whose prompts are not standard for our environment. Thanks again

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-04-19 23:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found