Nandhi
Oct 04, 2022Cirrus
LTM Inactive VIP
Hi All, Wish to check is there any specific command in F5 ltm to fetch all inactive vip details which all associated pool members are in down state. Able to see disabled vips but need to fetch all d...
Hello Saravananpn,
Besides the network map article, you can grep for both the virtual server name and the "offline" state on the TMSH.
here is the command, after entering the TMSH mode:
#show ltm virtual | grep "Virtual Server" "offline"
The output looks like the below:
Ltm::Virtual Server: test
Availability : offline
Ltm::Virtual Server: test2
Availability : offline
Ltm::Virtual Server: test3
Availability : offline
You can also add to the output any entry you would like, for example if you need to know the reason, you can run the below command and the out will be as follows:
#show ltm virtual | grep "Virtual Server" "offline" "Reason"
Output:
Ltm::Virtual Server: test
Availability : offline
Reason : The children pool member(s) are down
Ltm::Virtual Server: test2
Availability : offline
Reason : The children pool member(s) are down
Ltm::Virtual Server: test3
Availability : offline
Reason : The children pool member(s) are down
I hope this is what you are looking for.
Thanks,
Mohamed Salah
Just for your info, "test" and "test2" and test3" are the virtual servers name in my lab.
Thanks,
This command list down all type of vip status but can helpful for my requirement. Thanks!