Forum Discussion

Thiyagu_343098's avatar
Thiyagu_343098
Icon for Nimbostratus rankNimbostratus
Feb 12, 2018

LTM command to search for a node in all partition

Hello All, I'm looking for a command which would help to search for a node IP in all the partition in LTM.

 

Instead of changing to different partition and search for a node IP, I want to search the node IP in all partition in a single execution?

 

Could you please help me on this?

 

Regards, Thiyagu

 

2 Replies

  • First go to root: cd / then execute list ltm node recursive | grep "your filter"

     

    This will look in all the partitions you have.

     

  • Maybe something like this:

    tmsh -q -c 'cd / ; list recursive'  | grep 'ltm node'
    

    This should list all nodes. Grep some more for the node your are looking for.