To add a permanent entry in the Address Resolution Protocol (ARP) cache, use the arp global configuration command. To remove an entry from the ARP cache, use the no form of this command.
arp ip-address hardware-address type [a lias ]
no arp ip-address hardware-address type [a lias ]
ip-address  IP address in four-part dotted-decimal format corresponding to the local data link address.
hardware-address  Local data link address (a 48-bit address).
type  Encapsulation description. For Ethernet interfaces, this is typically the arpa keyword. For Fiber Distributed Data Interface (FDDI) and Token Ring interfaces, this is always snap .
alias (Optional) Indicates that the Cisco IOS software should respond to ARP requests as if it were the owner of the specified address.
No entries are permanently installed in the ARP cache.
Global configuration
Release | Modification | 10.0 | This command was introduced. |
---|
The Cisco IOS software uses ARP cache entries to translate 32-bit IP addresses into 48-bit hardware addresses.
Because most hosts support dynamic resolution, you generally do not need to specify static ARP cache entries.
To remove all nonstatic entries from the ARP cache, use the clear arp-cacheprivileged EXEC command.
The following is an example of a static ARP entry for a typical Ethernet host:
arp 192.31.7.19 0800.0900.1834 arpa
Command | Description |
---|---|
clear arp-cache | Deletes all dynamic entries from the ARP cache. |
Printed for apswan@ctr.ap.nic.in on Wed Mar 5 22:32:57 PST 2003
All material in this document copyright 2000 Cisco Systems, Inc. All rights reserved. No material may be reproduced or distributed without written permission of Cisco Systems, Inc.