
6.5.3 Configuring Rate Limit of ARP Packets
This section describes how to configure the rate limit for ARP packets.
Procedure
l
Configuring the rate limit of ARP packets in the system view
1.
Run:
system-view
The system view is displayed.
2.
Run:
arp anti-attack rate-limit enable
Rate limiting of ARP packets is enabled.
By default, rate limiting of ARP packets is disabled globally.
3.
Run:
arp anti-attack rate-limit
packet-number
[
interval-value
]
The rate limit duration and the rate limit of ARP packets are set.
After the rate limit duration and the rate limit of ARP packets are set, ARP packets
whose rate exceeds the rate limit in the rate limit duration are discarded. By default,
the rate limit of ARP packets is 100 and the rate limit duration of ARP packets is 1s.
4.
(Optional) Run:
arp anti-attack rate-limit alarm enable
The alarm function for ARP packets that are discarded when the rate of ARP packets
exceeds the rate limit is enabled.
By default, the alarm function for ARP packets that are discarded when the rate of
ARP packets exceeds the rate limit is disabled.
5.
(Optional) Run:
arp anti-attack rate-limit alarm threshold
threshold
The alarm threshold for the number of ARP packets discarded when the rate of ARP
packets exceeds the rate limit is set.
By default, the alarm threshold for the number of ARP packets discarded is 100.
l
Configuring the rate limit of ARP packets in the interface view
1.
Run:
system-view
The system view is displayed.
2.
Run:
interface
interface-type
interface-number
The interface view is displayed.
The interface type can be Ethernet, GE,or Eth-Trunk.
3.
Run:
arp anti-attack rate-limit enable
Rate limiting of ARP packets is enabled.
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.
138