Forum Discussion

vasu_95875's avatar
vasu_95875
Icon for Nimbostratus rankNimbostratus
Dec 08, 2009

Order of iRule execution ?

We have 10 iRules in specific order . Will they execute in same order ?

3 Replies

  • Hi Vasu,

     

    Yes they should execute in the order you had placed each iRule. Atleast that is what mine does. :-)

     

     

    Bhattman
  • hoolio's avatar
    hoolio
    Icon for Cirrostratus rankCirrostratus
    Here are a few related posts on iRule priority:

     

     

    iRules 101 - 11 - Events

     

    http://devcentral.f5.com/Default.aspx?tabid=63&articleType=ArticleView&articleId=165

     

     

    Irule Preference

     

    http://devcentral.f5.com/Default.aspx?tabid=53&forumid=5&tpage=1&view=topic&postid=57335

     

     

    when EVENT "chaining" and variable scope

     

    http://devcentral.f5.com/Default.aspx?tabid=53&forumid=5&tpage=1&view=topic&postid=60810

     

     

    Aaron
  • JG's avatar
    JG
    Icon for Cumulonimbus rankCumulonimbus

    In https://devcentral.f5.com/articles/stacking-irules-a-modular-approach.Uyf0upjYN1U , it is stated:

     

    "iRules are executed in the order they are applied to the virtual server (the order in which they appear in the GUI, the configuration file or in 'bigpipe virtual show' commands.)"

     

    But "Local Traffic ›› Network Map" and "Local Traffic ›› Virtual Servers : Virtual Server List ›› my_vs" show a different (opposite) order (only 2 irules).

     

    Any explanation for this?

     

    I am on v10.2.4 HF7.