Console# show ip interface
Gateway IP Address
---------------------
10.7.1.1
IP address
-------------------
10.7.1.192/24
10.7.2.192/24
arp
The arp Global Configuration mode command adds a permanent entry in the Address Resolution
Protocol (ARP) cache. To remove an entry from the ARP cache, use the no form of this command.
Syntax
arp ip_addr hw_addr {ethernet interface-number | vlan vlan-id | port-channel number}
no arp ip_addr {ethernet interface-number | vlan vlan-id | port-channel number}
•
ip_addr—IP address or IP alias to map to the specified MAC address.
•
hw_addr—MAC address to map to the specified IP address or IP alias.
•
ethernet interface-number—Ethernet port number.
•
vlan vlan-id—VLAN number.
•
port-channel number—Port-channel number.
Default Configuration
This command has no default configuration.
Command Mode
Global Configuration mode
User Guidelines
•
The software uses ARP cache entries to translate 32-bit IP addresses into 48-bit hardware
addresses. Because most hosts support dynamic resolution, static ARP cache entries do not
need to be specified.
Type
-----------
Static
Interface
------------
VLAN 1
VLAN 2
Activity Status
---------------
Active
Type
------------
Static
DHCP
IP Addressing Commands
161