306 CHAPTER 17: NETWORK PROTOCOL OPERATION
be terminated. The timeout of synwait timer range is 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 timer range
is 76 to 3600 seconds. By default, finwait timer is 675 seconds.
The receiving/sending buffer size of the connection-oriented socket is in the range
from 1 to 32K bytes and is 8K 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 8K bytes.
Displaying and
debugging IP
Performance
After the above configuration, enter the display command in any view to display the
running of the IP Performance configuration, and to verify the effect of the
configuration. Enter the reset command in User View to clear IP, TCP, and UDP
statistics information.
Table304 Configuring TCP Attributes
Operation Command
Configure synwait timer in TCP tcp timer syn-timeout time_value
Restore synwait timer undo tcp timer syn-timeout
Configure FIN_WAIT_2 timer in TCP tcp timer fin-timeout time_value
Restore FIN_WAIT_2 timer 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
Table305 Displaying and Debugging IP Performance
Operation Command
Display TCP connection state display tcp status
Display TCP connection statistics data display tcp statistics
Display UDP statistics information display udp statistics
Display IP statistics information display ip statistics
Display ICMP statistics information display icmp statistics
Display socket interface information of
current system
display ip socket [ socktype sock_type ] [
task_id socket_id ]
Display the summary of the Forwarding
Information Base
display fib
Display the FIB entries matching the
destination IP address (range)
display fib ip_address1 [ { mask1 |
mask_length1 } [ ip_address2 { mask2 |
mask_length2 } | longer ] | longer ]
Display the FIB entries matching a specific
ACL
display fib acl number
Display the FIB entries which are output
from the buffer according to regular
expression and related to the specific
character string
display fib | { { begin | include | exclude }
text }
Display the FIB entries matching the
specific prefix list
display fib ip-prefix listname