ltm rule command MR flow idΒΆ

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

MR::flow_id
       Returns a unique identifier for the current connection.

SYNOPSIS
       MR::flow_id

DESCRIPTION
       Returns a unique identifier for the current connection. This identifier can be used to generate the lasthop
       and nexthop of a message.

RETURN VALUE
       Returns a unique identifier for the current connection.

VALID DURING
       ANY_EVENT

EXAMPLES
	when MR_INGRESS {
	    set orig_flowid [MR::flow_id]
	    MR::store orig_flowid
	}
	when MR_EGRESS {
	    MR::restore orig_flowid
	    log local0. "message from $orig_flowid to [MR::flow_id]"
	}

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

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