Forum Discussion

Blue_whale's avatar
Blue_whale
Icon for Cirrocumulus rankCirrocumulus
Jul 08, 2020

what is the cli command to check the total number of VIP, POOL, NODE

Hi Team ,

 

Can you please help me with the clis command which can provide the details of total number of VIP's , POOL's , Nodes configured on the LTM ..(Which should give similar details as Network Map in GUI gives (Local traffic summary))

 

Regards ,

CK

5 Replies

  • Use Unix command to count vip, pool, rows.

    Example: Go to bash mode

    Virtual server count: ​

    # tmsh list ltm virtual one-line | wc -l

    Pool count

    #tmsh list ltm pool one-line | wc -l

    Nodes count

    # tmsh list ltm node one-line | wc -l

    Hope it will help you​

  • Hi  

     

    These commands are not working in bash .

    In bash :

    bash: tmsh list: command not found

     

    In tmsh :

    0 Syntax Error: "wc", grep is currently the only filter that is supported

     

    • Samir's avatar
      Samir
      Icon for MVP rankMVP

      This error only return if you run Unix command in tmsh prompt.

      In tmsh run this command to go in bash #

      run util bash

      Then execute wc command.​

  • The Network Map does just that ..

    Move to "All partitions" view, go to Statistics > Local Traffic and view "Status Summary" report