CLI Reference Guide-R07

Table Of Contents
Chapter 27
| IP Interface Commands
IPv4 Interface
– 656 –
ARP Configuration This section describes commands used to configure the Address Resolution
Protocol (ARP) on the switch.
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 8.
A static entry may need to be used 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.
Static entries will not be aged out nor deleted when power is reset. A static
entry can only be removed through the configuration interface.
Example
Console(config)#arp 10.1.0.19 01-02-03-04-05-06
Console(config)#
Table 136: Address Resolution Protocol Commands
Command Function Mode
arp Adds a static entry in the ARP cache GC
ip proxy-arp Enables proxy ARP service IC
clear arp-cache Deletes all dynamic entries from the ARP cache PE
show arp Displays entries in the ARP cache NE, PE