Forum Discussion

Siggi_121557's avatar
Siggi_121557
Icon for Nimbostratus rankNimbostratus
Oct 27, 2016

How to use tmsh cli to find out what partition a virtual server is in

I have Big-IP LTM 10.2.1 build 297 with multiple partition, and I'm in tmsh. Partition is set to all and I do a "show ltm virtual" I get a list of all the virtuals across all partitions on the box. Is there a way to tell which partition each virtual is in? Or do I have to run that command from each partition? If so is there a tmsh command that tells me all the partition names?

 

  • tmsh list auth partition -> List all partition names tmsh show ltm virtual // -> shows ltm virtual if at all exists in that partition.
  • tmsh list auth partition -> List all partition names tmsh show ltm virtual // -> shows ltm virtual if at all exists in that partition.
    • Stanislas_Piro2's avatar
      Stanislas_Piro2
      Icon for Cumulonimbus rankCumulonimbus

      Hi,

      you can also list all configuration with:

      (Active)(/Common)(tmos) cd /cd /
      (Active)(/)(toms) list ltm virtual recursive one-line | grep "your filter"
      
    • Siggi_121557's avatar
      Siggi_121557
      Icon for Nimbostratus rankNimbostratus

      This version of LTM there is no recursive option to "list ltm virtual" and including the partition name doesn't work either (thinks it is a virtual name), and cd isn't a valid command either.

       

      The good news is "list auth partition" is exactly what I was looking for. Thanks