Forum Discussion

Ganesh_Prasad_1's avatar
Ganesh_Prasad_1
Icon for Altostratus rankAltostratus
May 20, 2021

List down VIP and associated SSL Client profile

Hello Guys,

 

Need support to get the command line to get VIP name and associated SSL client profile.

 

Thanks

GPG

8 Replies

  • Hello Ganesh.

    Try with this command.

    tmsh list ltm virtual profiles { $(tmsh list ltm profile client-ssl | grep "profile" | awk '{print $4}' | tr '\n' ' ') }

    Regards,

    Dario.

  • Hello Dario,

     

    above command showing syntax error

     

    Admin@(PROD-LB2)(cfg-sync In Sync)(Active)(/Common)(tmos)# list ltm virtual profiles { $(tmsh list ltm profile client-ssl | grep "profile" | awk '{print $4}' | tr '\n' ' ') }

    Syntax Error: "awk", grep is currently the only filter that is supported

    • Dario_Garrido's avatar
      Dario_Garrido
      Icon for MVP rankMVP

      Hello Ganesh.

      You have to execute the above command from bash shell, not from tmsh shell.

      Write this command before, to jump to your bash shell:

      run /util bash

      Then

      tmsh list ltm virtual profiles { $(tmsh list ltm profile client-ssl | grep "profile" | awk '{print $4}' | tr '\n' ' ') }

      Regards,

      Dario.

  • Hello Dario,

     

    Thanks for response !

     

    Above command successfully executed but we are not able to get all VIP details.

     

    Thanks

    GPG

    • Dario_Garrido's avatar
      Dario_Garrido
      Icon for MVP rankMVP

      Hello Ganesh.

      What do you mean?

      This previous command should only display Virtual+ClientSSL info. That's what you have requested. Could you clarify your question with an example?

      Regards,

      Dario.

  • Thanks Dario !

     

    Your script is excellent , As we are getting desired output.

     

    Thanks for your support :)

     

    Thanks

    GPG