Command Reference TCP Commands
Related
Commands
Command Description
N/A N/A
Platform
Description
This command is supported by RGOS 10.3 and later versions.
ip tcp window-size
Use this command to change the size of receiving buffer and sending buffer for TCP connections.
Use the no form of this command to restore the default value.
ip tcp window-size size
no ip tcp window-size
Parameter
Description
Parameter Description
size
Size of receiving buffer and sending buffer for TCP connections in the
range from 0 to 65535 bytes. The default value is 4096.
Defaults
The size of receiving buffer and sending buffer is 4096 bytes.
Command
Mode
Global configuration mode
Usage Guide
The TCP receiving buffer is used to buffer the data received from the peer end. These data will be
subsequently read by application programs. Generally, the window size of TCP packets implies the
size of free space in the receiving buffer. For connections involving a large bandwidth and mass data,
increasing the size of receiving buffer will remarkably improve TCP transmission performance.
The sending buffer is used to buffer the data of application programs. Each byte in the sending buffer
has a sequence number, and bytes with sequence numbers acknowledged will be removed from the
sending buffer. Increasing the sending buffer will improve the interaction between TCP and
application programs, thus enhancing the performance. However, increasing the receiving buffer and
sending buffer will result in more memory consumption of TCP.
This command is used to change the size of receiving buffer and sending buffer for TCP connections.
This command changes both the receiving buffer and sending buffer, and only applies to subsequent
connections.
Configuration
Examples
Ruijie(config)# ip tcp window-size 16386
Related
Commands
Command Description
N/A N/A