28-Feb-2022 07:52
I am looking for each VIP that is using a specific ssl client profile, I know I can use iHealth but it's a tedious process everytime. I was hoping I can just use the CLI to accomplish this task. What I have found already is the following commands :
tmsh list ltm virtual | grep -E 'test'
This command does return back the 'test' results however without the Virtual server information attached.
tmsh list ltm virtual | grep -E 'test|'
When I execute this command it just returns ALL Virtual servers with any/all ssl client profiles not pertaining to test. That character is a pipe |
Solved! Go to Solution.
28-Feb-2022 10:50
28-Feb-2022 10:50
28-Feb-2022 10:52
tmsh list ltm virtual all one-line | egrep "ltm virtual|<profilename>" --color
28-Feb-2022 11:20
Thanks but this actually returned mostly ALL the VIPs we had that did not include that <profilename> 'test'.
28-Feb-2022 23:39
You're right, my bad, grep for "test" first then run another grep -e to highlight the profile
tmsh list ltm virtual all one-line | grep test | egrep "ltm virtual|test" --color