TMSH

Hi,

how can I use tmsh to show all pools/nodes in my F5 ? I tried: show ltm pool all show ltm node all but nothing is shown up, and we have a lot of pools/nodes

thanks!

tmsh list ltm virtual pool

Do this from bash.

If you are in TMOS take off the tmsh

Show displays statistics. Use list to display all pool/node and their config.

list /ltm pool  
list /ltm node

I did it, but nothing happened - I have attached the cli output

image_132866.png

tmsh list ltm virtual

If that doesn’t work you do not have any virtual servers.

I have a lot of V.S - that is so weird

Only thing left is that your user does not have the privileges to issue that command or view the list.

In tmsh: list /auth user your_user_name_here

What is the role?

the role of my user name is: admin
image_132871.png

Admin has full access so no issue there.

Were you able to view the bigip.conf file to see if it contains pools/virtuals, etc? From bash: less /config/bigip.conf.

Have you created any additional administrative partitions? Your tmsh commands are display objects in /Common partition only. From tmsh: list /auth partition to display all partitions on bigip.

I have another partition, so I’m assuming that is the problem. do I need to switch to the active partition and then do those commands? is it possible ?

This should work. If you are already in tmos, remove tmsh from the command.

  • tmsh list /ltm pool

  • tmsh list /ltm node

Looks like Scott already suggested these commands.. Which version you are in?

the issue has been resolved. I had to switch to the active partition by: 1 - list /auth partition 2 - cd /(Active_Partition)

and then I’m able to do all the tmsh commands.

thank you eveyone!

Yes switch partitions. In tmsh: cd /partition_name

You should see in the tmsh prompt the new partition path where previously it showed /Common. Then try the list commands.

Alternate method from the /Commmon partition in tmsh you can enter: list /ltm pool /other_partition_name/* .

Keep in mind all object names are case sensitive.

thank you! it is works!