iRule to enable/disable physical switch port

Is there an iRule function that could disable interface 1.1 on BIG-IP LTM 9.x or 10.x?

Hi Nicholas,

This isn’t possible directly from an iRule. But you could have an iRule log a specific message and use a custom alert to call a shell script which uses ‘b interface 1.1. disable’ to disable the port. See this post for details:

Generic command in user_alert.conf

http://devcentral.f5.com/Default.aspx?tabid=53&view=topic&postid=55956&ptarget=56007

Aaron