Switch 7700 Configuration Guide
56 CHAPTER 4: NETWORK PROTOCOL OPERATION
IP Performance TCP attributes to be configured include:
■ synwait timer: When sending the syn packets, TCP starts the synwait timer. If
response packets are not received before synwait timeout, the TCP connection
will be terminated. The timeout of synwait timer ranges 2 to 600 seconds and
it is 75 seconds by default.
■ finwait timer: When the TCP connection state turns from FIN_WAIT_1 to
FIN_WAIT_2, finwait timer will be started. If FIN packets are not received before
finwait timer timeout, the TCP connection will be terminated. finwait ranges
76 to 3600 seconds and it is 675 seconds by default.
■ The receiving/sending buffer size of connection-oriented Socket is in the range
from 1 to 32K bytes and is 4K bytes by default.
Perform the following configuration in System view.
By default, the TCP finwait timer is 675 seconds, the synwait timer is 75 seconds,
and the receiving/sending buffer size of connection-oriented Socket is 4K bytes.
Displaying and
Debugging IP
Performance
After the previous configuration, display the running of the IP Performance
configuration in all views, and verify the effect of the configuration. Execute the
debugging command in user view to debug IP Performance configuration.
Tab le 11 Configure TCP Attributes
Operation Command
Configure synwait timer time
for TCP connection
establishment
tcp timer syn-timeout time-value
Restore synwait timer time for
TCP connection establishment
to default value
undo tcp timer syn-timeout
Configure FIN_WAIT_2 timer
time of TCP
tcp timer fin-timeout time-value
Restore FIN_WAIT_2 timer
time of TCP to default value
undo tcp timer fin-timeout
Configure the Socket
receiving/sending buffer size
of TCP
tcp window window-size
Restore the socket
receiving/sending buffer size
of TCP to default value
undo tcp window
Tab le 12 Display and Debug IP Performance
Operation Command
Display TCP connection state display tcp status
Display TCP connection
statistics data
display tcp statistics
Display the VLAN interface
table information of the IP
layer
display ip interface [ interface_type interface_num |
interface_name ]