
Procedure
l
Configuring interface-based ARP entry limiting
1.
Run:
system-view
The system view is displayed.
2.
Run:
interface
interface-type
interface-number
The interface view is displayed.
3.
Run:
arp-limit
[
vlan
vlan-id1
[
to
vlan-id2
]]
maximum
maximum
Interface-based ARP entry limiting is configured.
The
vlan
parameter can only be specified in the Layer 2 interface view.
l
Configuring sub-interface-based ARP entry limiting
1.
Run:
system-view
The system view is displayed.
2.
Run:
interface
interface-type
interface-number
.
subnumber
The sub-interface view is displayed.
On the AR1200-S, sub-interface-based ARP entry limiting can be enabled on GE sub-
interface,Ethernet sub-interface, Eth-Trunk sub-interface.
3.
Run:
arp-limit
maximum
maximum
Sub-interface-based ARP entry limiting is configured.
----End
6.3.4 Checking the Configuration
The configurations of ARP entry limiting are complete.
Procedure
l
Run the
display arp learning strict
command to view the configuration of strict ARP
learning.
l
Run the
display arp-limit
[
interface
interface-type
interface-number
] [
vlan
vlan-id
]
command to view the maximum number of ARP entries that can be learned on an interface
or in a VLAN.
----End
Example
Run the
display arp learning strict
command to view the configuration of strict ARP learning.
<Huawei>
display arp learning strict
The global configuration:arp learning strict
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.
130