204 IP Addressing Commands
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.
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
i
nterface-number
|
vlan
vlan-id
|
port-channel
port-channel number.
}
•
no arp
ip_addr
{
ethernet
i
nterface-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.
Console# show ip interface
Gateway IP Address Type Activity status
------------------ ------ ---------------
10.7.1.1 Static Active
IP address Interface Type
------------- --------- -------
10.7.1.192/24 VLAN 1 Static
10.7.2.192/24 VLAN 2 DHCP
book.book Page 204 Thursday, December 18, 2008 7:40 PM