Forum Discussion

Parveez_70209's avatar
Parveez_70209
Icon for Nimbostratus rankNimbostratus
Mar 19, 2014

What will be the CLI command to check the irule against a virtual server specific for a particular customer ?

Hi , What will be the CLI command to check the irule against a virtual server specific for a particular customer ?

 

Lets say Customer XYZ got a virtual-Server ; XYZ-HTTP.

 

Thanks and Regards Parveez

 

6 Replies

  • If you're just looking to see which irules are applied to a specific virtual server, you can do this from TMSH:

     

    list ltm virtual XYZ-HTTP

     

    Or are you looking for other information?

     

  • John_Alam_45640's avatar
    John_Alam_45640
    Historic F5 Account

    And, you can do:

    show ltm virtual XYZ-HTTP detail

    It will give you stats about the iRule like this (you will have to scroll down a bit):

      ---------------------------------------------------
      | Ltm::Rule Event: Webtop_intercept:CLIENT_ACCEPTED
      ---------------------------------------------------
      | Priority                 500
      | Executions
      |   Total                  120
      |   Failures                 0
      |   Aborts                   0
      | CPU Cycles on Executing
      |   Average                  0
      |   Maximum                  0
      |   Minimum                  0
    
      ------------------------------------------------
      | Ltm::Rule Event: Webtop_intercept:HTTP_REQUEST
      ------------------------------------------------
      | Priority                 500
      | Executions
      |   Total                    1
      |   Failures                 0
      |   Aborts                   0
      | CPU Cycles on Executing
      |   Average                  0
      |   Maximum                  0
      |   Minimum                  0
    
  • Hi,

     

    Sorry not very good in CLI option, but was checking the answer where it stated to go inside the tmsh and run the below command:

     

    list ltm virtual XYZ-HTTP

     

    Question is how to go inside tmsh, is there a specific command ?