2-17
Description
Use the
reset
tcp statistics
command to clear the statistics about TCP packets. You can use the
display tcp statistics
command to view the current TCP packet statistics.
Examples
# Clear the statistics about TCP packets.
<Sysname> reset tcp statistics
reset udp statistics
Syntax
reset
udp statistics
View
User view
Parameters
None
Description
Use the
reset
udp statistics
command to clear the statistics about UDP packets. You can use the
display udp statistics
command to view the current UDP packet statistics.
Examples
# Clear the statistics about UDP packets.
<Sysname> reset udp statistics
tcp timer fin-timeout
Syntax
tcp timer fin-timeout
time-value
undo tcp timer fin-timeout
View
System view
Parameters
time-value
: TCP finwait timer, in seconds, with the value ranging from 76 to 3600.
Description
Use the
tcp timer fin-timeout
command to configure the TCP finwait timer.
Use the
undo tcp timer fin-timeout
command to restore the default value of the TCP finwait timer.
By default, the value of the TCP finwait timer is 675 seconds.
When the TCP connection state changes from FIN_WAIT_1 to FIN_WAIT_2, the finwait timer is
enabled. If the switch does not receive FIN packets before finwait timer times out, the TCP connection
will be terminated.