beautypg.com

Setting aging time for dynamic arp entries, Enabling the arp entry check, Arp configuration example – H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 367: Network requirements, Configuration procedure, 5 arp configuration example

background image

33-5

To do…

Use the command…

Remarks

Enter system view

system-view

Enter VLAN interface view

interface Vlan-interface vlan-id

Set the maximum number of dynamic
ARP entries that a VLAN interface can
learn

arp max-learning-num number

Optional
2048 by default.

Setting Aging Time for Dynamic ARP Entries

After dynamic ARP entries expire, the system will delete them from the ARP mapping table. You can
adjust the aging time for dynamic ARP entries according to the actual network condition.

Follow these steps to set aging time for dynamic ARP entries:

To do…

Use the command…

Remarks

Enter system view

system-view

Set 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 can control the device to learn multicast MAC addresses. With the ARP entry
check enabled, the device cannot learn any ARP entry with a multicast MAC address. Configuring such
a static ARP entry is not allowed either; otherwise, the system prompts error information.

After the ARP entry check is disabled, the device can learn the ARP entry with a multicast MAC address,
and you can also configure such a static ARP entry on the device.

Follow these steps to enable the ARP entry check:

To do…

Use the command…

Remarks

Enter system view

system-view

Enable the ARP entry check

arp check enable

Optional
Enabled by default.

ARP Configuration Example

Network requirements

z

Enable the ARP entry check.

z

Set the aging time for dynamic ARP entries to 10 minutes.

z

Set the maximum number of dynamic ARP entries that VLAN-interface 10 can learn to 1000.

z

Add a static ARP entry, with the IP address being 192.168.1.1/24, the MAC address being
000f-e201-0000, and the outbound port being GigabitEthernet 0/0/10 of VLAN 10.

Configuration procedure

system-view

[Sysname] arp check enable