Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 romping around the Monastery: (6)
As of 2014-11-28 22:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (200 votes), past polls