Administrator Guide

IP Routing 1133
Adding Static ARP Entries and Configuring ARP Table Settings
Beginning in Privileged EXEC mode, use the following commands to
configure static ARP entries in the ARP cache and to specify the settings for
the ARP cache.
Command Purpose
configure Enter global configuration mode.
arp
ip-address hardware-
address
Create a static ARP entry in the ARP table.
ip-address
— IP address of a device on a subnet attached
to an existing routing interface.
hardware
-address
— A unicast MAC address for that
device.
arp timeout
seconds
Configure the ARP entry ageout time.
arp resptime
seconds
Configure the ARP request response timeout.
arp retries
integer
Configure the ARP count of maximum requests for
retries. The range is 1–10.
arp cachesize
integer
Configure the maximum number of entries in the ARP
cache.
arp dynamicrenew Allow the ARP component to automatically renew
dynamic ARP entries when they age out.
exit Exit to Privileged EXEC mode.
show arp [brief] View the user-configured (static) ARP entries. The static
entries display regardless of whether they are reachable
over an interface. Use the brief keyword to view only the
ARP table settings.
clear arp-cache [gateway] Remove all dynamic ARP entries from the ARP cache.
Include the keyword gateway to remove gateway entries as
well.
clear arp-cache
management
Remove all dynamic ARP entries from the ARP cache that
were learned on the management interface.
arp purge
ip-address
Remove the specified IP address from the ARP cache.
This command removes dynamic and gateway ARP entries
only.