Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 about the Monastery: (10)
As of 2014-07-11 07:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (220 votes), past polls