This section describes how to configure ICMP flood attack defense.
Procedure
- Configure interface-based ICMP flood attack defense.
- In the user view, access the system view.
system-view
- Access the interface view.
interface interface-type interface-number
- Configure interface-based ICMP flood attack defense.
anti-ddos icmp-flood [ alert-rate alert-rate ]
If the rate of ICMP packets reaches alert-rate, ICMP flood attack defense is triggered. alert-rate is an integer ranging from 1 to 80000000, in pps. The default value is 500000.
- Configure destination IP address-based rate limiting.
- In the user view, access the system view.
system-view
- Configure destination IP address-based rate limiting.
bandwidth-limit destination-ip type icmp max-speed max-speed
max-speed is an integer ranging from 1 to 2000000, in pps.
After this function is configured, the FW collects the statistics on the ICMP packets that arrive at each destination IP address. If the number of ICMP packets that arrive at a destination IP address exceeds the maximum value, the FW discards excess packets.