To do...
Enter system view
Configure a permanent
static ARP entry
Configure a
non-permanent static ARP
entry
The vlan-id argument must be the ID of an existing VLAN which corresponds to the ARP entries. In
addition, the Ethernet interface 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 Interface
Follow these steps to set the maximum number of dynamic ARP entries that a interface can learn:
To do...
Enter system view
Enter interface view
Set the maximum number of
dynamic ARP entries that a
interface can learn
Setting the Aging Time for Dynamic ARP Entries
To keep pace with the network changes, the ARP table is refreshed. Each dynamic ARP entry in the
ARP table has a limited lifetime rather than is always valid. Dynamic ARP entries that are not refreshed
before expiring are deleted from the ARP table. The lifetime is called the aging time. The aging time is
reset each time the dynamic ARP entry is used within the lifetime. You can adjust the aging time for
dynamic ARP entries according to the actual network condition.
Follow these steps to set the aging time for dynamic ARP entries:
To do...
Enter system view
Set the aging time for dynamic
ARP entries
Use the command...
system-view
arp static ip-address mac-address
vlan-id interface-type
interface-number
arp static ip-address mac-address
Use the command...
system-view
interface interface-type interface-number
arp max-learning-num number
Use the command...
system-view
arp timer aging aging-time
2-4
Remarks
—
Required
No permanent static ARP entry
is configured by default.
Required
No non-permanent static ARP
entry is configured by default.
Remarks
—
—
Optional
256 by default.
Remarks
—
Optional
20 minutes by default.