Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 musing on the Monastery: (8)
As of 2014-10-02 00:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (41 votes), past polls