For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

SivaYenduri's avatar
Dec 19, 2019
Solved

CLI command for VIPs without any pools

Hello All,   We are doing a housekeeping activity in our DC and i need a CLI command that can retrieve the list of Virtual IPs that are not associated with any pool. It would be better if we can...
  • Leonardo_Souza's avatar
    Dec 19, 2019
    [root@LABBIGIP1:Active:Changes Pending] log # tmsh list ltm virtual pool
    ltm virtual gre_vs1 {
        pool gre_vs1
    }
    ltm virtual vs_without_pool {
        pool none
    }
    [root@LABBIGIP1:Active:Changes Pending] log # tmsh list ltm virtual pool | grep "pool none" -B1 | grep ltm | awk '{print $3}'
    vs_without_pool
    [root@LABBIGIP1:Active:Changes Pending] log # tmsh list ltm virtual pool | grep "pool none" -B1 | grep ltm | awk '{print $3}' > /var/tmp/vs.list
    [root@LABBIGIP1:Active:Changes Pending] log # cat /var/tmp/vs.list
    vs_without_pool
    [root@LABBIGIP1:Active:Changes Pending] log #