Create a Static ARP Entry for an Interface

You can create a static ARP entry for a device that is not yet connected to the network or to prevent an entry from aging out.

About this task

You can define a static ARP entry for a physical interface or for a VE. The examples in this topic reference a physical interface.

Procedure

  1. Access global configuration mode.
    device# configure terminal
    
  2. Create the static ARP entry.
    device(config)# arp 10.53.4.2 1245.7654.2348 interface ethernet 1/2
    

    The example creates a static ARP entry for IP address 10.53.4.2 and associates it with MAC address 1245.7654.2348 and physical port 1/2.

Example

The following example summarizes the commands in this procedure.
device# configure terminal
device(config)# arp 10.53.4.2 1245.7654.2348 interface ethernet 1/2