Command Reference TCP Commands
service tcp-keepalives-out [ interval ] [ garbage ]
no service tcp-keepalives-out [ interval ] [ garbage ]
The interval of sending keepalive packets, in the range from 1 to
65535 in the unit of seconds. The default is 60.
The keepalive packet contains one-byte invalid data. The invalid data
is not contained by default.
This function is disabled by default.
Global configuration mode
The keepalive function enables the TCP client to detect whether the server is operating properly.
If the TCP client sends the keepalive packet for four consecutive times without receiving any TCP
packet from the server, the TCP connection is considered invalid and then is disconnected
automatically.
The following example enables the keepalive function for the TCP client 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-out 10 garbage
11.9 show ipv6 tcp connect
Use this command to display the current IPv6 TCP connection information.
show ipv6 tcp connect [ local-ipv6 X:X:X:X::X ] [ local-port num ] [ peer-ipv6 X:X:X:X::X ]
[ peer-port num ]
Use this command to display the current IPv6 TCP connection statistics.
show ipv6 tcp connect statistics