ltm rule command MR restore
iRule(1) BIG-IP TMSH Manual iRule(1)
MR::restore
Returns the stored variables to the current context tcl variable store.
SYNOPSIS
MR::restore (VAR)*
DESCRIPTION
The MR::restore command retrieves one or more named Tcl variables previously stored with the message by the
MR::store command. If no name is provided, it retrieves all stored variables from the current message context.
RETURN VALUE
VALID DURING
MR_INGRESS MR_EGRESS MR_FAILED
EXAMPLES
when MR_INGRESS {
set client_addr [IP::remote_addr]:[TCP::remote_port]"
MR::store client_addr
}
when MR_EGRESS {
MR::restore client_addr
}
HINTS
SEE ALSO
CHANGE LOG
@BIGIP-11.5.0 --First introduced the command.
BIG-IP 2020-06-23 iRule(1)