Setting the aging timer for dynamic arp entries, Enabling dynamic arp entry check – H3C Technologies H3C S12500 Series Switches User Manual

Page 18

Advertising
background image

5

26B

Configuring the maximum number of dynamic ARP

entries

An interface can dynamically learn ARP entries. To prevent an interface from holding too many ARP

entries, you can set the maximum number of dynamic ARP entries that the interface can learn. When the

maximum number is reached, the interface stops learning ARP entries.
The Layer 2 interface can learn an ARP entry only when both its maximum number and the VLAN

interface's maximum number are not reached.
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.

arp max-learning-num number

By default, the maximum number of
dynamic 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, the interface is disabled from

learning dynamic ARP entries.

27B

Setting the aging timer for dynamic ARP entries

Each dynamic ARP entry in the ARP table has a limited lifetime, called aging timer. The aging timer of a
dynamic ARP entry is reset each time the dynamic ARP entry is updated. A dynamic ARP entry that is not

updated before its aging timer expires is deleted from the ARP table.
To set the aging timer for dynamic ARP entries:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Set the aging timer for dynamic ARP

entries.

arp timer aging aging-time

By default, the aging time for
dynamic ARP entries is 20 minutes.

28B

Enabling dynamic ARP entry check

The dynamic ARP entry check function controls whether the device supports dynamic ARP entries
containing multicast MAC addresses.
When dynamic ARP entry check is enabled, the device cannot learn dynamic ARP entries containing

multicast MAC addresses, and you cannot manually add static ARP entries containing multicast MAC

addresses.

Advertising