Home >

LunaSH Command Reference Guide > LunaSH Commands > ntls > ntls tcp_keepalive set

ntls tcp_keepalive set

Configure the NTLS TCP keep alive settings.

Syntax

ntls tcp_keepalive set -idle <seconds> -interval <seconds> -probes <number>

Parameter Shortcut Description
-idle -id

Specifies the TCP keep alive idle timer, in seconds.   This is the duration between two keep alive transmissions in idle condition.

Range: 10 to 10,000

Default: 10

-interval -in

Specifies the TCP keep alive interval time, in seconds.   This is the duration between any two successive keep alive transmissions.   

Range: 10 to 360

Default: 10

-probes -p

Specifies the number of retries to attempt if a transmission is not acknowledged. Default is 2.   

Range: 1 to 30

Default: 2

Example

lunash:>ntls tcp_keepalive set -idle 20 -interval 12 -probes 3

NOTICE: The NTLS service must be restarted for new settings to take effect.

Command Result : 0 (Success)