ltm rule command XLAT listen lifetimeΒΆ

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



XLAT::listen_lifetime
       Set/Get the listener lifetime.

SYNOPSIS
       XLAT::listen_lifetime (HANDLE)+ (XLAT_LIFETIME)?

DESCRIPTION
       Set/Get the listener lifetime.  Valid range is between 0 and 31536000
       (365 days).

RETURN VALUE
       Return the listener lifetime value.

VALID DURING
       ANY_EVENTS

EXAMPLES
	when SERVER_CONNECTED {
	    set listener [XLAT::listen 30 {
		proto [IP::protocol]
		bind -allow [serverside {LINK::vlan_id}] -ip [serverside {IP::local_addr}]
		server [IP::client_addr] [expr [TCP::local_port] + 1]
		allow [LB::server addr] 0
	    }]
	    log local0. "[XLAT::listen_lifetime $listener]"
	}

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



BIG-IP				  2019-05-10			      iRule(1)