Configuring tcp attributes, Configuring the tcp send/receive buffer size, Configuring tcp timers – H3C Technologies H3C WX3000E Series Wireless Switches User Manual

Page 104

Advertising
background image

93

# Enable VLAN-interface 2 to forward directed broadcasts.

[Switch-Vlan-interface2] ip forward-broadcast

Configuring TCP attributes

Configuring the TCP send/receive buffer size

Follow these steps to configure the TCP send/receive buffer size:

To do…

Use the command…

Remarks

Enter system view

system-view

Configure the size of TCP
receive/send buffer

tcp window window-size

Optional
8 KB by default.

Configuring TCP timers

You can configure the following TCP timers:

synwait timer: When sending a SYN packet, TCP starts the synwait timer. If no response packet is
received within the synwait timer interval, the TCP connection cannot be created.

finwait timer: When a TCP connection is changed into FIN_WAIT_2 state, the finwait timer is

started. If no FIN packet is received within the timer interval, the TCP connection is terminated. If a
FIN packet is received, the TCP connection state changes to TIME_WAIT. If a non-FIN packet is

received, the system restarts the timer upon receiving the last non-FIN packet. The connection is

broken after the timer expires.

Follow these steps to configure TCP timers:

To do…

Use the command…

Remarks

Enter system view

system-view

Configure the TCP synwait timer

tcp timer syn-timeout time-value

Optional
75 seconds by default.

Configure the TCP finwait timer

tcp timer fin-timeout time-value

Optional
675 seconds by default.

CAUTION:

The actual length of the finwait timer is determined by the following formula:
Actual length of the finwait timer = (Configured length of the finwait timer – 75) + configured length of the
synwait timer

Advertising