ltm rule command use
iRule(1) BIG-IP TMSH Manual iRule(1)
use
A BIG-IP 4.X statement. provided for backward-compatibility.
SYNOPSIS
use clone pool POOL_OBJ (member IP_ADDR)?
use nexthop ((IP_ADDR) | ((VLAN_OBJ) (IP_ADDR | MAC_ADDR |
transparent)?))
use node (IP_TUPLE | (IP_ADDR (PORT)?))
use pool POOL_OBJ (member (IP_TUPLE | (IP_ADDR (PORT)?)))?
use rateclass RATE_CLASS
use snat (automap | none | IP_TUPLE | (IP_ADDR (PORT)?))
use snatpool SNAT_POOL_OBJ (member IP_ADDR)?
use virtual VIRTUAL_SERVER_OBJ
DESCRIPTION
This is a BIG-IP 4.X statement, provided for backward-compatibility.
The use statement must be paired with certain BIG-IP 9.X commands such
as node, pool, rateclass, snat, and snatpool.
The use command is not required on BIG-IP 9.X systems.
RETURN VALUE
VALID DURING
ANY_EVENT
EXAMPLES
when HTTP_REQUEST {
if { [HTTP::uri] contains "aol" } {
use pool aol_pool
} else {
use pool all_pool
}
}
HINTS
SEE ALSO
CHANGE LOG
@BIGIP-9.0.0 --First introduced the command.
BIG-IP 2017-01-31 iRule(1)