![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/1/8b/18b1e1e7-4363-4706-bb94-6eba3a993996/18b1e1e7-4363-4706-bb94-6eba3a993996-bg323.png)
803
n
The support for this command varies with devices.
Example # Enable the SYN Cookie feature.
<Sysname> system-view
[Sysname] tcp syn-cookie enable
tcp timer check-state
Syntax tcp timer check-state time-value
undo tcp timer check-state
View System view
Parameter time-value: TCP connection state check interval in seconds, in the range of 1 to
60.
Description Use the
tcp timer check-state command to configure the TCP connection state
check interval.
Use the
undo tcp timer check-state command to restore the default.
By default, the TCP connection state check interval is 30 seconds.
The device periodically checks the number of TCP connections in each state. If it
detects that the number of TCP connections in a state exceeds the maximum
number, it will accelerate the aging of TCP connections in such a state.
Note that you need to enable the protection against Naptha attack before
executing this command. Otherwise, an error will be prompted.
Related command: tcp anti-naptha enable.
n
The support for this command varies with devices.
Example # Set the TCP connection state check interval to 40 seconds.
<Sysname> system-view
[Sysname] tcp anti-naptha enable
[Sysname] tcp timer check-state 40
tcp timer fin-timeout
Syntax tcp timer fin-timeout time-value
undo tcp timer fin-timeout