nikzin_341815
Jan 12, 2018Nimbostratus
tmsh command
Hello,
i am searching for tmsh command which list all virtual server with a special http profile (for example http_profile_1). Any idea ?
Thank you !
Nick
If you run the command outside of tmsh you can use some more tools to help you. Then you can try something like this which enables you to search for anything in the server config:
tmsh list ltm virtual one-line | grep PROFILE-NAME | awk {'print $3'}
or if you have partitions in your big-ip:
tmsh list ltm virtual /PARTITION/* one-line | grep PROFILE-NAME | awk {'print $3'}
EDIT: If you have partitions you have to insert a \ before the *. This editor seems to remove it when i post it here.