Command Reference
TCP Commands
Platform
Description
N/A
11.7 service tcp-keepalives-in
Use this command to enable the keepalive function for the TCP server. Use the no form of this
command to restore the default setting.
service tcp-keepalives-in
[
interval
] [
garbage
]
no service tcp-keepalives-in
Parameter
Description
Parameter
Description
interval
The interval of sending keepalive packets, in the range from 1 to
65535 in the unit of seconds. The default is 60.
garbage
The keepalive packet contains one-byte invalid data. The invalid data
is not contained by default.
Defaults
This function is disabled by default.
Command
Mode
Global configuration mode
Usage Guide
The keepalive function enables the TCP server to detect whether the client is operating properly.
If the TCP server sends the keepalive packet for four consecutive times without receiving any TCP
packet from the client, the TCP connection is considered invalid and then is disconnected
automatically.
Configuration
Examples
The following example enables the keepalive function for the TCP server and sets the interval of
sending the keepalive packet to 10 seconds. The keepalive packet contains one-byte invalid data.
Ruijie(config)# service tcp-keepalives-in 10 garbage
Related
Commands
Command
Description
N/A
N/A
Platform
Description
N/A
11.8 service tcp-keepalives-out
Use this command to enable the keepalive function for the TCP client. Use the
no
form of this
command to restore the default setting,
Summary of Contents for RG-S29 Series
Page 1: ...RG S29 Series Switch RGOS Command Reference Release 11 4 1 B12...
Page 10: ...Command Reference Command Line Interface Commands Platform Description N A...
Page 93: ...Command Reference Line Commands Description...
Page 248: ...Command Reference PKG_MGMT Commands...
Page 332: ...Command Reference Protocol VLAN Commands Commands N A N A Platform Description...
Page 350: ...Command Reference Voice VLAN Commands Description...
Page 430: ...Command Reference LLDP Commands Description...
Page 467: ...Command Reference ERPS Commands Commands N A N A Platform Description N A...
Page 541: ...Command Reference IPv6 Commands Platform Description N A...
Page 914: ...Multicast Commands 1 IPv4 Multicast Routing Commands 2 IGMP Snooping Commands...
Page 1092: ...Configuration Guide SCC Commands Platforms N A...
Page 1196: ...Configuration Guide IPv6 Source Guard Commands Platform Description N A...
Page 1290: ...ACL QoS Configuration Commands 1 ACL Commands 2 QoS Commands...