For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

Michel_van_der_'s avatar
Michel_van_der_
Icon for Nimbostratus rankNimbostratus
Jan 10, 2006

LocalLB.VirtualServer.add_rule question

I tried to apply a rule to a virtual server, but it does not seem to work.

 

 

What format should the parameter 'virtual_servers' take. Is that '1.2.3.4:80' or the name of the virtual server?

 

12 Replies

  • Okay, I'm not sure I fully understand, so I am going to state what I think (plus some questions). Please let me know if I have the right understanding.

     

     

    All of the rules that have been added through the GUI are by default at priority 500. Is that true even if there are multiple rules and you've used the up/down arrow keys to move them around? If I add a rule with a priority of 100 through the iControl API, it will be first in priority, so will be processed first when a HTTP request is received (i.e. if the rules is HTTP_REQUEST type).
  • hoolio's avatar
    hoolio
    Icon for Cirrostratus rankCirrostratus
    Hi Cindy,

     

    For more detail on priority in rules, check out Unruley's post in the 9.x rules forum (Click here).

     

    The gist is that by default rules have a priority of 500. If you have two rules with no priority set (=500) configured on the same VIP, then the order they are listed in the bigip.conf or GUI determines which rule's events are triggered first.

     

    I haven't played around with iControl so I can't say whether you can specify the priority of a rule when you're adding it to the VIP or not. But if you are able to, and you set it to a priority less than any existing rules associated with the VIP, the events in that rule would be triggered before any other rules.

     

    Aaron