ltm rule command DIAMETER hostΒΆ

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



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

SYNOPSIS
       DIAMETER::host ( ('origin' | 'dest' ) (DIAMETER_HOST)? )

DESCRIPTION
       This iRule command gets or sets the value of the origin-host (code 264)
       or destination-host (code 293) AVP in the current message.

       Syntax DIAMETER::host origin|dest [new_host]

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

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

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



BIG-IP				  2017-01-31			      iRule(1)