Configuring tcp attributes, Configuring tcp optional parameters – H3C Technologies H3C WX6000 Series Access Controllers User Manual
Page 96
11-3
# Enable AC to receive directed broadcasts.
[AC] ip forward-broadcast
# Configure IP addresses for VLAN-interface 3 and VLAN-interface 2.
[AC] interface vlan-interface 3
[AC-Vlan-interface3] ip address 1.1.1.2 24
[AC-Vlan-interface3] quit
[AC] interface vlan-interface 2
[AC-Vlan-interface2] ip address 2.2.2.2 24
# Enable VLAN-interface 2 to forward directed broadcasts.
[AC-Vlan-interface2] ip forward-broadcast
z
Configure Switch
# Enable Switch to receive directed broadcasts.
[Switch] ip forward-broadcast
# Configure a static route to the host.
[Switch] ip route-static 1.1.1.1 24 2.2.2.2
# Configure an IP address for VLAN-interface 2.
[Switch] interface vlan-interface 2
[Switch-Vlan-interface2] ip address 2.2.2.1 24
After the above configurations, if you ping the subnet broadcast address (2.2.2.255) of VLAN-interface
2 of AC on the host, the ping packets can be received by VLAN-interface 2 of Switch. However, if you
disable the ip forward-broadcast command, the ping packets can not be received by the
VLAN-interface 2 of Switch.
Configuring TCP Attributes
Configuring TCP Optional Parameters
TCP optional parameters that can be configured include:
z
synwait timer: When sending a SYN packet, TCP starts the synwait timer. If no response packets
are received within the synwait timer timeout, the TCP connection is not successfully created.
z
finwait timer: When the TCP connection is in FIN_WAIT_2 state, finwait timer will be started. If no
FIN packets are received within the timer timeout, the TCP connection will be terminated. If FIN
packets are received, the TCP connection state changes to TIME_WAIT. If non-FIN packets are
received, the system restarts the timer from receiving the last non-FIN packet. The connection is
broken after the timer expires.
z
Size of TCP receive/send buffer
Follow these steps to configure TCP optional parameters:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Configure TCP synwait timer’s
timeout value
tcp timer syn-timeout time-value
Optional
By default, the timeout value is 75
seconds.