ltm rule command ROUTE domainΒΆ

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

ROUTE::domain
       Returns the current routing domain of the current connection.

SYNOPSIS
       ROUTE::domain

DESCRIPTION
       Returns the current routing domain of the current connection. Several commands allow an addition rt_domain option: node,
       snat, LB::status

       Syntax

       ROUTE::domain

	    * Returns the current routing domain of the current connection.

RETURN VALUE
VALID DURING
EXAMPLES
	when CLIENT_ACCEPTED {
	    set gateway 10.3.1.11
	    set bandwidth [ROUTE::bandwidth [IP::remote_addr] $gateway%[ROUTE::domain]]
	    if { $bandwidth > 0 } {
		log local0. "Destination found in cache, bandwidth = $bandwidth"
	    }
	}

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

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