ltm rule command ROUTE clearΒΆ

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



ROUTE::clear
       Removes a Congestion Metrics Cache entry.

SYNOPSIS
       ROUTE::clear DESTINATION_IP_ADDRESS (GATEWAY_IP_ADDRESS)?

DESCRIPTION
       Removes the congestion metrics and MTU associated with a destination IP
       address and/or gateway.

       Clears the entry on all platform TMMs.

RETURN VALUE
VALID DURING
EXAMPLES
	when CLIENT_ACCEPTED {
	    set bandwidth [ROUTE::bandwidth [IP::remote_addr]]
	    if { $bandwidth > 0 && $bandwidth < 1000 } {
		# Reject cache entries below 1000 kbps
		ROUTE::clear [IP::remote_addr]
	    }
	}

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



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