Configuring a multiport arp entry – H3C Technologies H3C S12500-X Series Switches User Manual

Page 16

Advertising
background image

5

Setting the maximum number of dynamic ARP

entries for a device

A device can dynamically learn ARP entries. To prevent a device from holding too many ARP entries, you

can set the maximum number of dynamic ARP entries that the device can learn. When the maximum

number is reached, the device stops learning ARP entries.
If you set a value lower than the number of existing dynamic ARP entries, the device does not remove the

existing entries unless they are aged out. The device also stops learning ARP entries until the number of

dynamic ARP entries is below the configured value.
To set the maximum number of dynamic ARP entries for a device:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Set the maximum
number of dynamic

ARP entries for the
device.

arp max-learning-number
number

By default, a device can learn a maximum of
262144 dynamic ARP entries.
If the value for the number argument is set to
0, the device is disabled from learning

dynamic ARP entries.

Setting the maximum number of dynamic ARP

entries for an interface

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 for an interface:

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 for the

interface.

arp max-learning-num number

By default, an interface can learn a
maximum of 262144 dynamic ARP

entries.
If the value of the number argument is set
to 0, the interface is disabled from

learning dynamic ARP entries.

Advertising
This manual is related to the following products: