when¶
Description¶
Used to specify an event in an iRule. All BIG-IP 9.X iRules begin with
a when command. You can specify multiple when commands within
a single iRule.
Examples¶
when CLIENT_ACCEPTED {
if { [IP::addr [IP::client_addr] equals 10.10.10.10] } {
pool my_pool
}
}