Command Mode
User EXEC mode.
User Guidelines
There are no user guidelines for this command.
Example
The following example the displays the configured IP interfaces and their types.
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. Use the no form of this command to remove an entry from the ARP cache.
Syntax
•
arp ip_addr hw_addr {ethernet interface-number | vlan vlan-id | port-channel port-channel number.}
•
no arp ip_addr {ethernet interface-number | vlan vlan-id | port-channel port-channel number.}
•
ip_addr — Valid IP address or IP alias to map to the specified MAC address.
•
hw_addr — Valid MAC address to map to the specified IP address or IP alias.
•
interface-number — Valid Ethernet port.
•
vlan-id — Valid VLAN number.
•
port-channel number — Valid Port-channel number.
Default Configuration
This command has no default configuration.
204
IP Addressing Commands
Type
------
Static
Interface
---------
VLAN 1
VLAN 2
Activity status
---------------
Active
Type
-------
Static
DHCP