ltm rule command IP hopsΒΆ

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



IP::hops
       Gives you the estimated number of hops the peer takes to get to you.

SYNOPSIS
       IP::hops

DESCRIPTION
       This command is used to give you the estimated number of hops between
       the peer in question, and the client machine making the request.

RETURN VALUE
       Number of hops

VALID DURING
       ANY_EVENT

EXAMPLES
	when HTTP_REQUEST {
	  if { [IP::hops] >= 10 } {
	      COMPRESS::disable
	  }
	}

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



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