Forum Discussion
nikzin_341815
Nimbostratus
Jan 12, 2018tmsh 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
Henric_Petterss
Cirrus
Jan 12, 2018If 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.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects