784 CHAPTER 54: ARP CONFIGURATION
c
CAUTION: The vlan-id argument must be the ID of an existing VLAN which
corresponds to the ARP entries. In addition, the Ethernet port following the
argument must belong to that VLAN. A VLAN interface must be created for the
VLAN.
Configuring the
Maximum Number of
ARP Entries for a VLAN
Interface
Follow these steps to set the maximum number of dynamic ARP entries that a
VLAN interface can learn:
Setting Aging Time for
Dynamic ARP Entries
After dynamic ARP entries expire, the system will delete them from the ARP
mapping table. You can adjust the aging time for dynamic ARP entries according
to the actual network condition.
Follow these steps to set aging time for dynamic ARP entries:
Enabling the ARP Entry
Check
The ARP entry check can control the device to learn multicast MAC addresses.
With the ARP entry check enabled, the device cannot learn any ARP entry with a
multicast MAC address. Configuring such a static ARP entry is not allowed either;
otherwise, the system prompts error information.
After the ARP entry check is disabled, the device can learn the ARP entry with a
multicast MAC address, and you can also configure such a static ARP entry on the
device.
Follow these steps to enable the ARP entry check:
Configure a non-permanent
static ARP entry
arp static ip-address
mac-address
Required
No non-permanent static ARP
entry is configured by default.
To do… Use the command… Remarks
To do… Use the command… Remarks
Enter system view system-view -
Enter VLAN interface view interface Vlan-interface
vlan-id
-
Set the maximum number of
dynamic ARP entries that a VLAN
interface can learn
arp max-learning-num
number
Optional
8192 by default.
To do… Use the command… Remarks
Enter system view system-view -
Set aging time for dynamic
ARP entries
arp timer aging aging-time Optional
20 minutes by default.
To do… Use the command… Remarks
Enter system view system-view -
Enable the ARP entry check arp check enable Optional
Enabled by default.