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

mkeenan_289714's avatar
mkeenan_289714
Icon for Nimbostratus rankNimbostratus
Oct 13, 2016

Finding All Objects Associated with Another Object

What is the easiest way to locate all objects associated with other configurations? For example - If I wanted to see everything that is associated with the node "NODE-1" to like virtual servers and pools how could I do that?

 

I would like to be able to easily verify that something is not being used by other places in the configuration before I go deleting it.

 

2 Replies

  • Another great way of doing it is by using Bash tools in conjunction with TMSH argument 'one-line' which substitutes new-line occurrences in output with spaces. I was mad at myself of not being aware of the one-line argument. Eventually, I discovered it by accident but that didn't happen before having worked with temp proxy files for years

    So if I wanted to print out names of all LTM Pools associated with 10.255.255.1 IP node, I would do as follows:

    (bash)  tmsh list ltm pool one-line | grep 10.255.255.1 | awk '{print $3}'
    pool_something_443
    pool_something_else_443