Manual Chapter :
iRule changes not loading
Applies To:
Show Versions
BIG-IP LTM
- 15.1.10, 15.1.9, 15.1.8, 15.1.7, 15.1.6, 15.1.5, 15.1.4, 15.1.3, 15.1.2, 15.1.1, 15.1.0, 15.0.1, 15.0.0, 14.1.5, 14.1.4, 14.1.3, 14.1.2, 14.1.0, 14.0.1, 14.0.0, 13.1.5, 13.1.4, 13.1.3, 13.1.1, 13.1.0
iRule changes not loading
Changes to iRule scripts attached to a virtual or transport-config do not change the scripts
executing on existing connections. New connections will use the updated scripts. To cause the new
script code to be applied, all existing connections (both client side and server side) will need
to be closed and new connections created. This may be avoided by moving the business logic of the
script to a procedure as follows:
ltm rule mylib { proc sip_ingress {} { if { [SIP::is_request] and [clientside] } { # do something # change here } else { # do something else # change here } } } ltm rule routing { when SIP_INGRESS { call mylib::sip_ingress } }