ltm rule command FLOW peerΒΆ

iRule(1)					  BIG-IP TMSH Manual					     iRule(1)

FLOW::peer
       Returns the TCL flow handle for the peer flow.

SYNOPSIS
       FLOW::peer ANY_CHARS

DESCRIPTION
       Returns the TCL flow handle for the peer flow.

RETURN VALUE
       TCL handle for the peer flow. On error an exception is thrown with a message indicating the cause of failure.

VALID DURING
       FLOW_INIT, CLIENT_ACCEPTED, SA_PICKED, LB_SELECTED, CLIENT_DATA, SERVER_DATA, SERVER_CONNECTED

EXAMPLES
	when SERVER_CONNECTED {
	    # Get server side flow handle.
	    set cf [FLOW::this]

	    # Get client side flow handle.
	    set peer [FLOW::peer $cf]
	    log local0. "Peer flow is $peer"
	    unset cf peer
	}

HINTS
SEE ALSO
CHANGE LOG
       @BIGIP-14.1.0 --First introduced the command.

BIG-IP						      2020-06-23					     iRule(1)