ltm rule command snatpoolΒΆ

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



snatpool
       Assigns the specified SNAT pool or SNAT pool member to the current
       connection.

SYNOPSIS
       snatpool SNAT_POOL_OBJ (member IP_ADDR)?

DESCRIPTION
       Causes the pool of addresses identified by  to be used
       as translation addresses to create a SNAT.

       Syntax

       snatpool 

	    * Causes the pool of addresses identified by  to be
	      used as translation addresses to create a SNAT.

       snatpool  member 

	    * Causes the a particular member of the pool of addresses identified
	      by  to be used as translation addresses to create a
	      SNAT.

RETURN VALUE
VALID DURING
EXAMPLES
	when CLIENT_ACCEPTED {
	  if { [TCP::local_port] == 531 } {
	     snatpool chat_snatpool
	}
	  elseif { [TCP::local_port] == 25 } {
	     snatpool smtp_snatpool member 10.20.30.40
	 }
	}

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



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