ltm rule command STREAM replace
iRule(1) BIG-IP TMSH Manual iRule(1)
STREAM::replace
Changes a replacement string in the Stream profile.
SYNOPSIS
STREAM::replace (TARGET_STRING)?
DESCRIPTION
Changes the specified target replacement string in the Stream profile.
This command is not sticky and is applied only once during the current
match. If the target expression is missing, the replacement is skipped.
Syntax
STREAM::replace []
* Changes the specified target replacement string in the Stream
profile. This command is not sticky and is applied only once during
the current match. If the target expression is missing, the
replacement is skipped.
RETURN VALUE
VALID DURING
EXAMPLES
when STREAM_MATCHED {
set server [string tolower [STREAM::match]]
if {$server contains "mail"} {
STREAM::replace "webmail.yourdomain.com/$mailhost"
}
}
HINTS
SEE ALSO
CHANGE LOG
@BIGIP-9.2.0 --First introduced the command.
BIG-IP 2017-01-31 iRule(1)