Configuring a static ARP entry

A static ARP entry is effective when the device it corresponds to works properly. 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 guidelines when you configure a long static ARP entry:

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 [ vpn-instance vpn-instance-name ]

  • Configure a short static ARP entry:arp static ip-address mac-address [ vpn-instance vpn-instance-name ]

Use either command.