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

Page 17

Advertising
background image

1-5

z

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.

z

The IP address of the VLAN interface corresponding to the vlan-id argument must belong to the

same network segment as the IP address specified by the ip-address argument.

Configuring the Maximum Number of ARP Entries for an Interface

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 an

interface can learn

arp max-learning-num number

Optional

8192 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 an aging time rather than is always valid. Dynamic ARP entries that are not refreshed

before expiration are deleted from the ARP table. The aging time is reset each time the dynamic ARP

entry is refreshed. 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.

Enabling the ARP Entry Check

The ARP entry check function controls the device to support static ARP entries with multicast MAC

addresses.

Advertising