Forum Discussion

automusPrime_13's avatar
automusPrime_13
Icon for Nimbostratus rankNimbostratus
Oct 22, 2013

bigpipe commands, How to gather what you see in the gui through the command line

How to get more detail information utilizing the CLI

 

4 Replies

  • Are there any specific statistics you require please? Are you on v10 at least? That way we can use tmsh commands rather than bigpipe ones.

     

  • As Steve says, TMSH is the way to go. You can see anything in the shell that you can see in the GUI (and usually more) by using TMSH. The trick is, however, that every command is different and highly dependent on what you're looking for. I would recommend referencing the TMSH guide for 10.x to get you started.

     

    Manual: Traffic Management Shell (tmsh) Reference Guide

     

  • OK, so, as Kevin suggested, taking a look at the tmsh reference guide is a good start. It'll be very similar syntax for most LTM objects. Let's take the Virtual Server information as an example;

     

    show ltm virtual 'name' << Skip the name if you want info on all VSs. This will give you the statistics and counters

     

    list ltm virtual 'name' << Skip the name if you want info on all VSs. This will give you the configuration information

     

    It's the same syntax for 'pool's and 'node's. You can of course script it all very easily and even setup a cron job if you'd like.

     

    If you want to modify and filter or sort the output, Linux toosl such as grep, awk and sed will help you greatly too.