2-17
When sending the SYN packet, TCP starts the synwait timer. If the response packet is not received
before synwait times out, the TCP connection will be terminated.
Related commands: tcp timer fin-timeout, tcp window.
Examples
# Configure the value of the TCP synwait timer to 80 seconds.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] tcp timer syn-timeout 80
tcp window
Syntax
tcp window window-size
undo tcp window
View
System view
Parameters
window-size: Size of the transmission and receiving buffers of the connection-oriented socket,
measured in kilobytes (KB), in the range of 1 to 32.
Description
Use the tcp window command to configure the size of the transmission and receiving buffers of the
connection-oriented socket.
Use the undo tcp window command to restore the default size of the transmission and receiving
buffers of the connection-oriented socket.
By default, the size of the transmission and receiving buffers is 8 KB.
Related commands: tcp timer fin-timeout, tcp timer syn-timeout.
Examples
# Configure the size of the transmission and receiving buffers of the connection-oriented socket to 3 KB.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] tcp window 3