Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^4: NET::OpenSSH to execute multiple commands

by hmb104 (Sexton)
on Aug 24, 2012 at 21:50 UTC ( #989643=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    ($Core) = &connect( $Core, $user, $pass );
    @Output = $Core->capture( "show ip route $IPNumber" ) or
    ...
    @Subnet = split( /\./, $Subnet );
    $RouterIP = join( '.', $Subnet[0], $Subnet[1], $Subnet[2], '1' );
    print( " Router: [$Rname]\t  Router IP: [$RouterIP]\n" );
    
  2. or download this
    bash-3.00$./test.pl 10.10.10.16
     Router: []       Router IP: [10.10.10.1]
     
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2014-08-21 06:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (127 votes), past polls