beautypg.com

Configuring arp, Configuring a static arp entry – H3C Technologies H3C WX3000E Series Wireless Switches User Manual

Page 15

background image

4

NOTE:

Usually ARP dynamically generates ARP entries without manual intervention.

To allow communication with a host by using a fixed IP-to-MAC mapping, configure a short static ARP
entry for it. To allow communication with a host through a specific interface in a specific VLAN by using
a fixed IP-to-MAC mapping, configure a long static ARP entry for it.

Configuring ARP

Configuring a static ARP entry

A static ARP entry is effective when the device it corresponds to works normally. However, when a VLAN
or VLAN interface is deleted, any static ARP entry corresponding to it will also be deleted (if it is a long

static ARP entry) or will become unresolved (if it is a short and resolved static ARP entry).
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.
Not configured by

default.

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