ltm rule command UDP max rateΒΆ

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

UDP::max_rate
       This command can be used to set/get the maximum transmission rate (bytes per second) of a UDP connection.

SYNOPSIS
       UDP::max_rate (UDP_MAX_RATE)?

DESCRIPTION
       UDP::max_rate returns the maximum transmission rate (bytes per second) of a UDP connection.  UDP::max_rate UDP_MAX_RATE
       sets the maximum transmission rate (bytes per second) to specified value.  UDP::max_rate 0 turns off the maximum
       transmission rate (bytes per second) of a previously specified value.

RETURN VALUE
       UDP::max_rate returns the maximum transmission rate (bytes per second) of a UDP connection.

VALID DURING
       ANY_EVENT

EXAMPLES
	# Get/set the max rate of the UDP flow.
	when CLIENT_ACCEPTED {
	    # Set the rate to 1Mbps (125,000 bytes per second)
	    log local0. "UDP set max rate: [UDP::max_rate 125000]"
	    log local0. "UDP get max rate: [UDP::max_rate]"
	}

HINTS
SEE ALSO
CHANGE LOG
       @BIGIP-14.0.0
	   --first introduce the command.

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