
1-4
Configuring ARP
Configuring a Static ARP Entry
A static ARP entry is effective when the device is working normally. However, when the VLAN or VLAN
interface to which a static ARP entry corresponds is deleted, the entry, if long, will be deleted, and if
short and resolved, will become unresolved.
Follow these steps to configure a static ARP entry:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Configure a long static
ARP entry
arp static ip-address mac-address
vlan-id
interface-type
interface-number
[
vpn-instance
vpn-instance-name
]
Required
No long static ARP entry is configured by
default.
Configure a short static
ARP entry
arp static ip-address mac-address
[
vpn-instance
vpn-instance-name
]
Required
No short static ARP entry is configured by
default.
z
The
vlan-id
argument must be the ID of an existing VLAN that 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 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
—