Forum Discussion

James_48285's avatar
James_48285
Icon for Nimbostratus rankNimbostratus
Nov 21, 2011

Using plink with BIG-IP Version 10.2.1 297.0

I was trying to automate sending commands to bip ip for troubleshooting. When i try and log in i get the following error BIG pipe parsing error: 012e0008:3: The requested command (b node) is invalid.

 

 

I run the same command from after manually logging into the big pip runs funs fine.

 

 

I check the terminal access and it is set to bigpipe shell, the only other options is disabled or tmsh.

 

 

plink -ssh -l %ID% %IP% -pw %PASS% "b node list"

 

  • Seems to work for me:

     

     

    C:\Program Files (x86)\PUTTY>plink.exe -ssh -l root 172.16.99.5 -pw default "b version | grep BIG-IP.version"

     

    BIG-IP Version 10.2.1 297.0

     

     

    C:\Program Files (x86)\PuTTY>plink.exe -ssh -l root 172.16.99.5 -pw default "b node list"

     

    node 172.16.99.99 {}

     

    node 172.16.100.50 {}

     

     

    C:\Program Files (x86)\PuTTY>plink.exe -ssh -l root 172.16.99.5 -pw default "tmsh list /ltm node"

     

    ltm node 172.16.99.99 { }

     

    ltm node 172.16.100.50 { }

     

  • James,

     

     

    With your options being bigpipe shell, tmsh, or disabled, you must be authenticating as a remote user and not a local user on the BigIP. When the user is a local BigIP user you also have an "Advanced shell" option. Advanced shell = bash.

     

     

    Drop the 'b' from the beginning of your command.

     

     

    user@host:~/dowloads$ ./plink -ssh -l admin1 172.24.18.31 -pw admin1 "b node list"

     

    BIGpipe parsing error:

     

    012e0008:3: The requested command (b node) is invalid

     

    user@host:~/dowloads$ ./plink -ssh -l admin1 172.24.18.31 -pw admin1 "node list"

     

    node 10.2.63.41 {}

     

    node 10.2.63.42 {}

     

     

    Jason