Forum Discussion

chethan_181144's avatar
chethan_181144
Icon for Nimbostratus rankNimbostratus
Oct 19, 2016

Is there any tmsh command in F5 to find out if the same pool is associated to any other VIP's

Hi F5 Team ,

 

Is there any tmsh command in F5 to find out if the same pool is associated to any other VIP's .Not using Network Map in GUI .

 

Example: In the below screen shot you can see pool "IDT_HOSTED_UAT_POOL-2222" is mapped to 2 different VIP's . So how to check this using tmsh command , if same pool is used in some other VIP's .

 

 

Regards , Chethan

 

3 Replies

  • Salim_83682's avatar
    Salim_83682
    Historic F5 Account

    Hi,

    Try this out:

     tmsh list ltm virtual pool | grep -B 1 "IDT_HOSTED_UAT_POOL-2222"

    Salim

  • From Bash shell can use the following to get a list of virtual servers and pools:

    tmsh list ltm virtual | egrep "virtual|pool"
    

    If you know the pool name you can use something like the following with the name of the pool.

    tmsh list ltm virtual | egrep "virtual|pool test_pool"
    

    Example output:

    [root@ltm:Active:Standalone] tmsh list ltm virtual | egrep "virtual|pool test"
    ltm virtual test {
    ltm virtual test1 {
        pool test
    ltm virtual test2 {
        pool test