![](http://pdfasset.owneriq.net/f/17/f177384e-8ea4-458a-b896-25b004e30624/f177384e-8ea4-458a-b896-25b004e30624-bg23e.png)
Command Line Interface
4-246
4
Address Resolution Protocol (ARP)
arp
This command adds a static entry in the Address Resolution Protocol (ARP) cache.
Use the no form to remove an entry from the cache.
Syntax
arp ip-address hardware-address
no arp ip-address
• ip-address - IP address to map to a specified hardware address.
• hardware-address - Hardware address to map to a specified IP address.
(The format for this address is xx-xx-xx-xx-xx-xx.)
Default Setting
No default entries
Command Mode
Global Configuration
Command Usage
• The ARP cache is used to map 32-bit IP addresses into 48-bit hardware (i.e.,
Media Access Control) addresses. This cache includes entries for hosts and
other routers on local network interfaces defined on this router.
• The maximum number of static entries allowed in the ARP cache is 128.
• You may need to enter a static entry in the cache if there is no response to an
ARP broadcast message. For example, some applications may not respond
to ARP requests or the response arrives too late, causing network operations
to time out.
Example
Related Commands
clear arp-cache
show arp
Table 4-81 Address Resolution Protocol Commands
Command Function Mode Page
arp Adds a static entry in the ARP cache GC 4-246
arp-timeout Sets the time a dynamic entry remains in the ARP cache GC 4-247
clear arp-cache Deletes all dynamic entries from the ARP cache PE 4-247
show arp Displays entries in the ARP cache NE, PE 4-247
ip proxy-arp Enables proxy ARP service VC 4-248
Console(config)#arp 10.1.0.19 01-02-03-04-05-06
Console(config)#