Forum Discussion
Satya_09_155275
Nimbostratus
May 19, 2014How to get the list of severs which are disabled and enabled on LTM we are using version:BIG-IP 10.2.4 Build 771.30
Hello Team,
There is a requirement to our Process on how to get the List of servers which were enabled and disabled.
is there any way to find all the enabled and disabled servers in a singl...
Kevin_Stewart
Employee
May 19, 2014Also give this a shot:
tmsh list ltm virtual all disabled |perl -pe 's/(?<={)\n//' |grep disabled |awk -F" " '{ print $3 }'
The "tmsh list ltm virtual all disabled" command will return all of the VIPs, but then expands on the disabled ones. The above takes that output, removes newlines immediately following an open curly (when there's expanded data), greps on "disabled", and the awk prints the 3rd field - the VIP name.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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