ltm rule command LSN persistence
iRule(1) BIG-IP TMSH Manual iRule(1)
LSN::persistence
LSN::persistence
SYNOPSIS
LSN::persistence none (TIMEOUT)?
LSN::persistence (address | address-port) TIMEOUT
DESCRIPTION
Set the translation address and port selection mode for the current connection, and the translation entry timeout.
LSN::persistence
RETURN VALUE
LSN::persistence none
Disable LSN persistence for the current connection. In this mode, when a new connection is initiated from an arbitrary client IP address, the address used for translation is the next address available in the translation pool. The selection starts with the numerically lowest address, and the allocation of a new address is preferred over the allocation of a new port for a translation address that is already in use.
LSN::persistence address
Change LSN persistence mode to "address", setting the persistence timeout for the connection to (in seconds). In this mode, when a connection is established from a particular client IP, a persistence entry is created. Each subsequent connection initiated from that client IP is mapped to the same translation address, when possible. If no connections are active from a client IP for seconds, the persistence entry is removed and future client connection from that given IP may be persisted to a different translation IP.
LSN::persistence port
Change LSN persistence mode to "port", setting the persistence timeout for the connection to (in seconds). In this mode, when a connection is established from a particular client IP and source port combination, a persistence entry is created. Each subsequent connection initiated from that client IP and souce port is mapped to the same translation address and port, when possible. If no connections are active from the particular client IP and source port for seconds, the persistence entry is removed and future client connection from that given IP may be persisted to a different translation IP and port. See RFC 4787, REQ-1 for more information.
LSN::persistence strict-address-port
This mode is deprecated.
VALID DURING
AUTH_RESULT AUTH_WANTCREDENTIAL CACHE_REQUEST CACHE_UPDATE CLIENT_ACCEPTED CLIENT_DATA CLIENTSSL_CLIENTCERT
CLIENTSSL_HANDSHAKE HTTP_CLASS_FAILED HTTP_CLASS_SELECTED HTTP_REQUEST HTTP_REQUEST_DATA LB_SELECTED RTSP_REQUEST
RTSP_REQUEST_DATA SIP_REQUEST MR_INGRESS STREAM_MATCHED
EXAMPLES
HINTS
SEE ALSO
CHANGE LOG
@BIGIP-11.3.0
- Initial version where the command was introduced @BIGIP-14.0.0
- Version where strict-address-port was deprecated
BIG-IP 2022-04-12 iRule(1)