The anti-attack tcp-syn car command sets the rate limit at which TCP SYN packets are received.
The undo anti-attack tcp-syn car command restores the default rate limit at which TCP SYN packets are received.
By default, the rate limit at which TCP SYN packets are received is 155000000 bit/s.
Parameter |
Description |
Value |
---|---|---|
cir cir | Specifies the committed information rate (CIR) at which TCP SYN packets are received. |
The value is an integer that ranges from 8000 to 155000000, in bit/s. |
Usage Scenario
After defense against TCP SYN flood attacks is enabled, run the anti-attack tcp-syn car command to set the rate limit at which TCP SYN packets are received. If the rate of received TCP SYN attack packets exceeds the rate limit, the device discards excess TCP SYN flood attack packets to ensure that the device CPU works properly.
Prerequisites
Defense against TCP SYN flood attacks has been enabled using the anti-attack tcp-syn enable command.