ltm rule command GENERICMESSAGE peer
iRule(1) BIG-IP TMSH Manual iRule(1)
GENERICMESSAGE::peer
Returns or sets the peer's route name.
SYNOPSIS
GENERICMESSAGE::peer name (NAME)?
DESCRIPTION
The GENERICMESSAGE::peer command returns or sets the peer's route name
in the message routing framework. The peer name will be automatically
set as the source address of each message.
Syntax
GENERICMESSAGE::peer name
* Returns the peer's route name.
GENERICMESSAGE::peer name
* Sets the peer's route name.
RETURN VALUE
Returns the peer's route name.
VALID DURING
ANY_EVENT
EXAMPLES
when CLIENT_ACCEPTED {
GENERICMESSAGE::peer name "[IP::remote_addr]:[TCP::remote_port]"
}
HINTS
SEE ALSO
CHANGE LOG
@BIGIP-11.5.0 --First introduced the command.
BIG-IP 2017-01-31 iRule(1)