ltm rule command ONECONNECT label
iRule(1) BIG-IP TMSH Manual iRule(1)
ONECONNECT::label
Associate OneConnect keying information with connection.
SYNOPSIS
ONECONNECT::label update KEY
DESCRIPTION
Associate OneConnect keying information with connection
Syntax
ONECONNECT::label update
* Associate the provided OneConnect key with the connection. If
performed while OneConnect is attached to a server-side connection,
this associates both the client-side and server-side with the same
key. Once a keyed server-side has been detached, OneConnect will
only re-attach it to a client-side connection having the same key
(even when ONECONNECT::select is set to none, in which case only
unkeyed client-side connections will be attached to the server
side)
RETURN VALUE
VALID DURING
EXAMPLES
when HTTP_REQUEST {
set keymatch [HTTP::uri]
persist uie $keymatch
ONECONNECT::select persist
}
when HTTP_REQUEST_SEND {
if { $keymatch == "/myuri"} {
ONECONNECT::label update $keymatch
}
}
HINTS
SEE ALSO
CHANGE LOG
@BIGIP-10.0.0 --First introduced the command.
BIG-IP 2017-01-31 iRule(1)