Forum Discussion
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 down vips. Currently doing it manually (V 14.1.5.1).
thanks!
Hi, the Network Map utility allows you to filter LTM object by status - including offline, disabled, ..
If you're looking for something specific in the CLI, check this thread
- Nandhi
Cirrus
Thanks let me go through the thread
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 : offlineYou 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 downI 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,
- Nandhi
Cirrus
This command list down all type of vip status but can helpful for my requirement. Thanks!
Hello Nandhi,
You can use this script to check the status of your pools
https://github.com/DariuSGB/F5_Bash/blob/master/Check_Pool_Status.sh
You can also use the same idea to gather the status of your VS.
Recent Discussions
Related Content
* 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