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

5
Step Command
Remarks
2.
Configure a multicast
or multiport unicast
MAC address entry.
•
Configure a multiport unicast MAC
address entry:
mac-address multiport mac-address
interface interface-list vlan vlan-id
•
Configure a multicast MAC address
entry:
mac-address multicast mac-address
interface interface-list vlan vlan-id
Use either command.
•
For more information about the
mac-address multiport command,
see Layer 2—LAN Switching
Command Reference.
•
For more information about the
mac-address multicast command,
see IP Multicast Command
Reference.
3.
Configure a short
static ARP entry.
arp static ip-address mac-address
[ vpn-instance vpn-instance-name ]
The mac-address in the short static ARP
entry must be the same as that in the
multicast or multiport unicast MAC
address entry.
Configuring the maximum number of dynamic ARP
entries for an interface
An interface can dynamically learn ARP entries, so it might 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.
To set the maximum number of dynamic ARP entries that an interface can learn:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface interface-type
interface-number
N/A
3.
Set the maximum
number of dynamic ARP
entries that the interface
can learn.
arp max-learning-num
number
Optional.
By default, the maximum number of ARP
entries that an interface can learn is the
maximum remaining resource of the switch.
If the value of the number argument is set to 0,
an interface is disabled from learning dynamic
ARP entries.
NOTE:
If 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 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