Forum Discussion

Kousalya_Nachim's avatar
Kousalya_Nachim
Icon for Nimbostratus rankNimbostratus
May 26, 2016

Does irules are seperated by Partition or it is common for all partitions

I tried creating an irule in a particular partition. While listing the irules it is shown in all the partitions. How can I check to which partition the irule belongs??  
  • Hannes_Rapp_162's avatar
    May 26, 2016

    Open the iRule in question, and you will see the following headers:

    Properties
    
    Name        MyiRule
    Partition   Common 
    

    If you need to check for same information on a larger scale, and don't want to click as much, perhaps the easiest method to find out all iRules that belong to Common is to use grep on the config backup file:

    `cat /config/bigip.conf | grep 'ltm rule'

    Beginning in v11, /config/bigip.conf holds items of Common partition only. Items of other partitions are in /config/partitions/partition-name/bigip.conf file. Check here for more details: https://support.f5.com/kb/en-us/solutions/public/13000/800/sol13895.html