Forum Discussion

Nandhi's avatar
Nandhi
Icon for Cirrus rankCirrus
Oct 04, 2022

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!

 

 

6 Replies

  • 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

    • Mohamed_Salah_'s avatar
      Mohamed_Salah_
      Icon for MVP rankMVP

      Just for your info, "test" and "test2" and test3" are the virtual servers name in my lab.

      Thanks,

    • Nandhi's avatar
      Nandhi
      Icon for Cirrus rankCirrus

      This command list down all type of vip status but can helpful for my requirement. Thanks!