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.
41-32
clear ipv6 neighbors
This command deletes all dynamic entries in the IPv6 neighbor discovery cache.
Command Mode
Privileged Exec
Example
The following deletes all dynamic entries in the IPv6 neighbor cache:
Console#clear ipv6 neighbors
Console#
Address Resolution Protocol
(ARP)
This section describes commands used to configure ARP on the switch.
Table 41-7 Address Resolution Protocol Commands
Command Function
arp Adds a static entry in the ARP cache
arp timeout Sets the time a dynamic entry remains in the ARP cache
clear arp-cache Deletes all dynamic entries from the ARP cache
show arp Displays entries in the ARP cache
ip proxy-arp Enables proxy ARP service
Mode Page
GC 41-32
GC 41-33
PE 41-34
NE, PE 41-34
VC 41-35
IP Interface Commands
41