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...
Enter system view
Configure a long static
ARP entry
Configure a short static
ARP entry
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.
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...
Enter system view
Enter Ethernet interface view
Use the command...
system-view
arp static ip-address mac-address
vlan-id interface-type
interface-number [ vpn-instance
vpn-instance-name ]
arp static ip-address mac-address
[ vpn-instance
vpn-instance-name ]
Use the command...
system-view
interface interface-type
interface-number
1-4
Remarks
—
Required
No long static ARP entry is configured by
default.
Required
No short static ARP entry is configured by
default.
Remarks
—
—