Forum Discussion
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.
- Ganesh_Prasad_1Altostratus
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
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.
- Ganesh_Prasad_1Altostratus
My device is running on BIGIP-12.1.5.2-0.0.10.iso
- Ganesh_Prasad_1Altostratus
Hello Dario,
Thanks for response !
Above command successfully executed but we are not able to get all VIP details.
Thanks
GPG
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.
Have you had a chance to look at my codeshare.
https://devcentral.f5.com/s/articles/bash-script-to-find-clientssls-mapped-to-virtual-servers-1143
- Ganesh_Prasad_1Altostratus
Thanks Dario !
Your script is excellent , As we are getting desired output.
Thanks for your support :)
Thanks
GPG