arp-miss speed-limit source-ip
Function
The arp-miss speed-limit source-ip command sets the maximum number of ARP Miss messages based on the source IP address.
The undo arp-miss speed-limit source-ip command restores the default setting.
By default, the device processes a maximum of 5 ARP Miss messages triggered by IP packets from the same source IP address in 1 second.
Format
arp-miss speed-limit source-ip [ ip-address ] maximum maximum
undo arp-miss speed-limit source-ip [ ip-address ]
Parameters
Parameter | Description | Value |
---|---|---|
ip-address | Specifies the source IP address. If this parameter is specified, the maximum number of ARP Miss messages triggered by packets from this IP address is limited. If this parameter is not specified, the maximum number of ARP Miss messages triggered by packets from each IP address is limited. |
The value is in dotted decimal notation. |
maximum maximum | Specifies the maximum number of ARP Miss messages based on the source IP address. NOTE:
If the maximum number of ARP Miss messages triggered by packets from each IP address is limited, a large value is recommended for this parameter because a small value may cause discarding of valid packets. However, a too large value will deteriorate the system performance. If an IP address initiates attacks, you can set the maximum number of ARP Miss messages triggered by packets from this IP address to a small value. |
The value is an integer that ranges from 0 to 32768. If the value is 0, the maximum number of ARP Miss messages is not limited based on the source IP address. |
Usage Guidelines
If the number of ARP Miss messages triggered by IP packets from a source IP address in 1 second exceeds the limit, the device considers that an attack is initiated from the source IP address. The administrator can use the arp-miss speed-limit source-ip command to set the maximum number of ARP Miss messages that the device can process within a specified duration, protecting the system resources and ensuring proper running of other services.
Example
# Set the maximum number of ARP Miss messages triggered by each source IP address in 1 second to 50.
<AC6605> system-view [AC6605] arp-miss speed-limit source-ip maximum 50
# Set the maximum number of ARP Miss messages triggered by the IP address 10.0.0.1 in 1 second to 100, and set the maximum number of ARP Miss messages triggered by other source IP addresses in 1 second to 50.
<AC6605> system-view [AC6605] arp-miss speed-limit source-ip maximum 50 [AC6605] arp-miss speed-limit source-ip 10.0.0.1 maximum 100