Setting the age timer for dynamic arp entries – H3C Technologies H3C SecBlade NetStream Cards User Manual

Page 131

Advertising
background image

116

Follow these steps to configure a static ARP entry:

To do…

Use the command…

Remarks

Enter system view

system-view

Configure
a static

ARP entry

Configure a long static
ARP entry

arp static ip-address mac-address vlan-id
interface-type interface-number

Required
Use either command.

Configure a short static
ARP entry

arp static ip-address mac-address

CAUTION:

The

vlan-id argument must be the ID of an existing VLAN where the ARP entry resides. The specified

Ethernet interface must belong to that VLAN. The VLAN interface of the VLAN must be created.

The IP address of the VLAN interface of the VLAN specified by the

vlan-id argument must belong to the

same subnet as the IP address specified by the

ip-address argument.

Configuring the maximum number of dynamic 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 the
interface can learn

arp max-learning-num number

Optional
4096 by default.
If the value of the number argument is set

to 0, the interface is disabled from
learning dynamic ARP entries.

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

used before their age timers expire are deleted from the ARP table. You can adjust the age timer for

dynamic ARP entries according to the actual network condition.
Follow these steps to set the age timer for dynamic ARP entries:

To do…

Use the command…

Remarks

Enter system view

system-view

Set the age timer for dynamic ARP
entries

arp timer aging aging-time

Optional
20 minutes by default.

Advertising