100 CHAPTER 5: NETWORK PROTOCOL OPERATION
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.
Troubleshooting IP
Performance
Fault: IP layer protocol works normally but TCP and UDP cannot work normally.
In the event of such a fault, you can enable the corresponding debugging
information output to view the debugging information.
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
Table 97 Configuring TCP Attributes
Operation Command
Table 98 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
Display the total number of FIB entries display fib statistics[{begin|include
|exclude}text]
Reset IP statistics information reset ip statistics
Reset TCP statistics information reset tcp statistics
Reset UDP statistics information reset udp statistics