
# Set the rate limit for ARP packets sent by user 4 to 10 pps. To prevent all users from sending
a large number of ARP packets incorrectly, set the rate limit for ARP packets of the system to
15 pps.
[Router]
arp speed-limit source-ip maximum 15
[Router]
arp speed-limit source-ip 2.2.4.2 maximum 10
Step 7
Configure the rate limit for ARP Miss packets.
# Set the rate limit for ARP Miss packets of the system to 20 pps to prevent users from sending
a large number of IP packets with an unreachable destination IP address.
[Router]
arp-miss speed-limit source-ip maximum 20
# Set the rate limit for ARP Miss packets on the server to 50 pps to prevent the server from
sending a large number of IP packets with an unreachable destination IP address, and to prevent
communication on the network when the rate for the server to send IP packets with an
unreachable destination IP address is incorrect.
[Router]
arp-miss speed-limit source-ip 2.2.2.2 maximum 50
Step 8
Verify the configuration.
After the configuration, run the
display arp learning strict
command to view information about
strict ARP learning.
<Router>
display arp learning strict
The global configuration:arp learning strict
interface LearningStrictState
------------------------------------------------------------
------------------------------------------------------------
Total:0
force-enable:0
force-disable:0
You can use the
display arp-limit
command to check the maximum number of ARP entries
learned by the interface. Take the display on Ethernet0/0/1 as an example.
<Router>
display arp-limit interface ethernet Ethernet0/0/1
interface LimitNum VlanID LearnedNum(Mainboard)
---------------------------------------------------------------------------
Ethernet0/0/1 20 10 0
---------------------------------------------------------------------------
Total:1
You can use the
display arp anti-attack configuration all
command to check the ARP anti-
attack configuration.
<Router>
display arp anti-attack configuration all
ARP anti-attack packet-check function:
disabled
ARP anti-attack entry-check mode: fixed-MAC
ARP gateway-duplicate anti-attack function: enabled
ARP rate-limit configuration:
-------------------------------------------------------------------------------
Global configuration:
Interface configuration:
-------------------------------------------------------------------------------
ARP miss rate-limit configuration:
-------------------------------------------------------------------------------
Global configuration:
-------------------------------------------------------------------------------
Huawei AR1200-S Series Enterprise Routers
Configuration Guide - Security
6 ARP Security Configuration
Issue 02 (2012-03-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
147