Setting the age timer for dynamic arp entries – H3C Technologies H3C S10500 Series Switches User Manual
Page 15

4
To do…
Use the command…
Remarks
Configure a
long static
ARP entry
arp static ip-address mac-address
vlan-id interface-type
interface-number [ vpn-instance
vpn-instance-name ]
Configure
a static
ARP entry
Configure a
short static
ARP entry
arp static ip-address mac-address
[ vpn-instance vpn-instance-name ]
Required
Use either command.
CAUTION:
•
The
vlan-id argument must be the ID of an existing VLAN where the ARP entry resides. The specified
Ethernet interface must belong to that VLAN. The VLAN interface of the VLAN must be created.
•
The IP address of the VLAN interface of the VLAN specified by the
vlan-id argument must belong to the
same subnet as the IP address specified by the
ip-address argument.
Configuring the maximum number of dynamic ARP entries for
an interface
An interface can dynamically learn ARP entries, so it may hold too many ARP entries. To solve this
problem, you can set the maximum number of dynamic ARP entries that an interface can learn. When the
maximum number is reached, the interface stops learning ARP entries.
Follow these steps to set the maximum number of dynamic ARP entries that an interface can learn:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter Ethernet interface view
interface interface-type
interface-number
—
Set the maximum number of
dynamic ARP entries that the
interface can learn
arp max-learning-num number
Optional
By default, a Layer 2 interface does not
limit the number of dynamic ARP entries.
A Layer 3 interface can learn up to
8192 dynamic ARP entries.
If the value of the number argument is set
to 0, the interface is disabled from
learning dynamic ARP entries.
NOTE:
When you set the maximum numbers of dynamic ARP entries that a Layer 2 interface and its VLAN
interface can learn, the smaller number takes effect.
Setting the age timer for dynamic ARP entries
Each dynamic ARP entry in the ARP table has a limited lifetime, called its age timer. The age timer of a
dynamic ARP entry is reset each time the dynamic ARP entry is used. Dynamic ARP entries that are not
used before their age timers expire are deleted from the ARP table. You can adjust the age timer for
dynamic ARP entries.