# Enable / Disable iRule

**URL:** <https://community.f5.com/t/enable-disable-irule/15759>\
**Category:** Technical Forums\
**Tags:** irules, dev, devops, application-delivery\
**Created:** [April 8, 2008, 8:10pm UTC](https://community.f5.com/t/enable-disable-irule/15759 "2008-04-08T20:10:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chris\_Chaloux\_1](https://avatars.discourse-cdn.com/v4/letter/c/cab0a1/32.png) [@Chris\_Chaloux\_1](https://community.f5.com/u/Chris_Chaloux_1)\
**Post date:** [April 8, 2008, 8:10pm UTC](https://community.f5.com/t/enable-disable-irule/15759/1 "2008-04-08T20:10:45Z")

</div>

Hi,

I am wondering if anyone has written anything to either enable / dibable an iRule without having to to access the console or the iRule editor.

I’d like to create a page with some radio button or check boxes that will either eable or disable an iRule for a specific VIP.

Any ideas or suggestions?

Thanks!

---

<div class="post-metadata">

**Author:** ![The\_Bhattman](https://d1p9zq3aats0t8.cloudfront.net/user_avatar/community.f5.com/the_bhattman/32/13958_2.png) [@The\_Bhattman](https://community.f5.com/u/The_Bhattman)\
**Post date:** [April 8, 2008, 8:32pm UTC](https://community.f5.com/t/enable-disable-irule/15759/2 "2008-04-08T20:32:02Z")

</div>

I think this is where iControl comes into play.

---

<div class="post-metadata">

**Author:** ![Colin\_Walker\_12](https://avatars.discourse-cdn.com/v4/letter/c/a88e4f/32.png) [@Colin\_Walker\_12](https://community.f5.com/u/Colin_Walker_12)\
**Post date:** [April 8, 2008, 9:36pm UTC](https://community.f5.com/t/enable-disable-irule/15759/3 "2008-04-08T21:36:13Z")

</div>

That is indeed a perfect job for iControl! If you’re looking to enable/disable certain events within an iRule, you could use the event disable or event enable commands. But for turning on/off entire iRules, then iControl is going to be the way to go, for sure.

Colin
