The anti-ddos icmp-flood command enables the interface-specific ICMP flood attack defense.
The undo anti-ddos icmp-flood command disables the interface-specific ICMP flood attack defense.
| Parameter | Description | Value |
|---|---|---|
| alert-rate alert-rate | Specifies the threshold of the ICMP packet rate that triggers ICMP flood attack defense. | The value is an integer ranging from 1 to 80000000, in pps. The default value is 500000. |
Ethernet interface view, Ethernet sub-interface view, Layer-2 Ethernet interface view, Layer-2 Ethernet sub-interface view, Eth-Trunk interface view, Layer-2 Eth-Trunk interface view, Eth-Trunk sub-interface view, Layer-2 Eth-Trunk sub-interface view, Virtual interface view
By default, the function is disabled.
A FW uses block technologies to defend against ICMP flood attacks. If the rate at which ICMP packets destined for an IP address are sent exceeds the threshold, the FW discards all ICMP packets that do not match the whitelist, ensuring that services are not affected by ICMP flood attacks.
The attack defense threshold obtained by the threshold learning function takes effect only for the global anti-DDoS. Therefore, you must use the anti-ddos icmp-flood command to manually set the threshold for the interface-specific ICMP flood attack defense.