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

Re: telnet to router

by chuckbutler (Monsignor)
on Mar 09, 2010 at 00:45 UTC ( [id://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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (1)
As of 2024-04-18 23:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found