Configuring a static ARP entry

Static ARP entries are effective when the device functions correctly.

A resolved short static ARP entry becomes unresolved upon certain events, for example, when the resolved output interface goes down, or the corresponding VLAN or VLAN interface is deleted.

Long static ARP entries can be effective or ineffective. Ineffective long static ARP entries cannot be used for packet forwarding. A long static ARP entry is ineffective when any of the following conditions exists:

A long static ARP entry in a VLAN is deleted if the VLAN or VLAN interface is deleted.

To configure a static ARP entry:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Configure a static ARP entry.

  • Configure a long static ARP entry:arp static ip-address mac-address [ vlan-id interface-type interface-number ]

  • Configure a short static ARP entry:arp static ip-address mac-address

By default, no static ARP entries exist.