ltm rule command DIAMETER commandΒΆ

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



DIAMETER::command
       Gets or sets the command-code.

SYNOPSIS
       DIAMETER::command (DIAMETER_COMMAND_CODE)?

DESCRIPTION
       The DIAMETER::command gets or sets the command code in the Diameter
       message header.

       Syntax DIAMETER::command [new_command-code]

RETURN VALUE
       If new command-code value is not provided, returns command code of
       current Diameter message

VALID DURING
       DIAMETER_INGRESS, DIAMETER_EGRESS, MR_INGRESS, MR_EGRESS, MR_FAILED

EXAMPLES
	when DIAMETER_INGRESS {
	    log local0. "Received a DIAMETER command, with code [DIAMETER::command]"
	}

HINTS
SEE ALSO
       DIAMETER::header

CHANGE LOG
       @BIGIP-11.0.0 --First introduced the command.



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