
2-4
To do…
Use the command…
Remarks
Enter system view
system-view
—
Configure a permanent
static ARP entry
arp static ip-address mac-address
vlan-id
interface-type
interface-number
Required
No permanent static ARP entry
is configured by default.
Configure a
non-permanent static ARP
entry
arp static ip-address mac-address
Required
No non-permanent static ARP
entry is configured by default.
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…
Use the command…
Remarks
Enter system view
system-view
—
Enter interface view
interface interface-type interface-number
—
Set the maximum number of
dynamic ARP entries that a
interface can learn
arp max-learning-num number
Optional
256 by default.
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…
Use the command…
Remarks
Enter system view
system-view
—
Set the aging time for dynamic
ARP entries
arp timer aging aging-time
Optional
20 minutes by default.
Summary of Contents for 4210G Series
Page 459: ...4 8...
Page 493: ...12 1...
Page 968: ...19 6 000f e235 dc71 1 Config static GigabitEthernet 1 0 1 NOAGED 1 mac address es found...