IP Performance 77
debugging command to output the debugging information to the console. In this
way, you can view the detailed information of all DHCP packets on the console
while applying for the IP address, thereby, conveniently locating the problem.
IP Performance IP performance configuration includes:
Configuring TCP Attributes
Configuring Special IP Packet Transmission to the CPU
Configuring L3 Broadcast Forwarding
Displaying and Debugging IP Performance
Troubleshooting IP Performance
Configuring TCP
Attributes
The TCP attributes that can 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.
Configuring Special IP
Packet Transmission to
the CPU
In IP packet forwarding, redirection packets, TTL timeout packets, and route
unreachable packets are often sent to CPU, which will notify the peer end for
further processing upon receiving them. Configuration errors and malicious
assaults may cause CPU overload. In this case, to maintain normal system
Tabl e 74 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