To do...
2.
Configure a permanent
static ARP entry
3.
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.
The IP address of the VLAN interface corresponding to the vlan-id argument must belong to the same network
•
segment as the IP address specified by the ip-address argument.
Configuring the maximum number of ARP entries for an
interface
To set the maximum number of dynamic ARP entries that an interface can learn:
To do...
1.
Enter system view
2.
Enter Ethernet interface view
3.
Set the maximum number of
dynamic ARP entries that an
interface can learn
Setting the aging time for dynamic ARP entries
To keep pace with network changes, each dynamic ARP entry in the ARP table has a limited lifetime,
called its aging time. The aging time is reset each time the dynamic ARP entry is used. Dynamic ARP
entries that are not refreshed before their aging time expires are deleted from the ARP table. You can
adjust the aging time for dynamic ARP entries.
To set the aging time for dynamic ARP entries:
To do...
1.
Enter system view
2.
Set the aging time for
dynamic ARP entries
Use the command...
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
14
Remarks
Required
No permanent static ARP entry is
configured by default.
Required
No non-permanent static ARP entry
is configured by default.
Remarks
—
—
Optional
Default: 256
Remarks
—
Optional
20 minutes by default.