TCP::keepalive

Description

Sets or gets the number of seconds before BIG-IP sends a keep-alive packet on a TCP connection with no traffic. A value of zero indicates no keep-alive packet should be sent.

Syntax

TCP::keepalive [interval]

Examples

when SERVER_CONNECTED {
    log local0. "Client: [client_addr]:[client_port] - Server: [server_addr]:[server_port]."
    # Set server-side keep-alive interval to 60 seconds.
    TCP::keepalive 60
}