ltm rule command DIAMETER realmΒΆ

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

DIAMETER::realm
       Gets or sets the value of the origin-realm or destination-realm AVP.

SYNOPSIS
       DIAMETER::realm ( ('origin' | 'dest' ) (DIAMETER_REALM)? )

DESCRIPTION
       This iRule command gets or sets the value of the origin-realm (code 296) or destination-realm (code 283) AVP in the current
       Diameter message.

       Syntax DIAMETER::realm origin|dest [new_realm]

RETURN VALUE
VALID DURING
       DIAMETER_INGRESS, DIAMETER_EGRESS, DIAMETER_RETRANSMISSION, MR_INGRESS, MR_EGRESS, MR_FAILED

EXAMPLES
	when DIAMETER_INGRESS {
	    log local0. "Received a DIAMETER message with origin realm [DIAMETER::realm origin]"
	}

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

BIG-IP							    2022-04-12							  iRule(1)