Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: telnet to router

by chuckbutler (Vicar)
on Mar 09, 2010 at 00:45 UTC ( #827452=note: print w/ replies, xml ) Need Help??


in reply to telnet to router

There is a CPAN Module Net::Telnet::Cisco that works very well under most cases. The module handles the paging. Also, as long as the device behaves like Cisco CLI you should be OK.

Normally, on current Cisco devices, the prompt waiting on a paging is '--More--', and responding with a CR, "\r", returns only the next line of output, but responding with a Space, " ", returns the next page or the remaining text.

Good luck. -c


Comment on Re: telnet to router

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2014-12-18 08:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (47 votes), past polls