R2511-HP MSR Router Series Terminal Access Command Reference(V5)
24
Examples
# Set the keepalive interval as 100 seconds and the keepalive number as 3.
<Sysname> system-view
[Sysname] rta relay tcp keepalive 100 3
rta relay tcp nodelay
Use rta relay tcp nodelay to enable the TCP_NODELAY function.
Use undo rta relay tcp nodelay to restore the default.
Syntax
rta relay tcp nodelay
undo rta relay tcp nodelay
Default
The TCP_NPDELAY function is disabled.
Views
System view
Default command level
2: System level
Usage guidelines
Enabling this function disables the Nagle algorithm, so the time delay caused by this algorithm during
TCP traffic transmission is avoided and the forwarding performance of the relay server is improved.
Examples
# Enable the TCP_NODELAY function.
<Sysname> system-view
[Sysname] rta relay tcp nodelay
rta relay tcp
Use rta relay tcp to set the send buffer size and receive buffer size for TCP connections between the relay
server and a client.
Use undo rta relay tcp to restore the default.
Syntax
rta relay tcp { recvbuf-size recvbuff-size | sendbuf-size sendbuff-size }
undo rta relay tcp { recvbuf-size | sendbuf-size }
Default
The send buffer size and receive buffer size are both 2048 bytes.
Views
System view
Default command level
2: System level










