Configuring IP ARP static entries

About this task

Configure ARP static entries to modify the ARP parameters on the device. The only way to change a static ARP is to delete the static ARP entry and create a new entry with new information.

Note

Note

Static multicast ARP entries are not supported for NLB Unicast or NLB Multicast operations.

Procedure

  1. Enter either Global Configuration mode or VRF Router Configuration mode for a specific VRF context:

    enable

    configure terminal

    Optional: router vrf WORD<1-16>

  2. Configure ARP static entries on the device:

    ip arp <A.B.C.D> 0x00:0x00:0x00:0x00:0x00:0x00 {slot/port[-slot/port][,...]}

Example

Configure ARP static entries:

Switch:1>enable
Switch:1#configure terminal
Switch:1(config)#ip arp 192.0.2.10 00-16-76-7D-80-C2 2/1

Variable definitions

Use the data in the following table to use the ip arp command.

Table 1. Variable definitions

Variable

Value

request-threshold <50-1000>

Configures the maximum number of outstanding ARP requests that a device can generate. The range is 50–1000. The default value is 500.

To configure this option to the default value, use the default operator with this command.

timeout <1-32767>

Configures the length of time in seconds an entry remains in the ARP table before timeout. The range is 1–32767.

To configure this option to the default value, use the default operator with this command.

Note:

The aging of ARP records is tied to the aging of MAC records. The ARP record for a given IP address is not removed unless the associated MAC record ages out and the router stops receiving a response to ARP requests for that IP address. In cases where the ARP aging time is set to less than the MAC aging time, the switch waits until the MAC ages out before deleting the ARP for an inactive host.

<A.B.C.D>

Adds ARP entries.