show ip arp

To display the Address Resolution Protocol (ARP) table statistics, use the show ip arp command.

show ip arp [ client | [ statistics | summary ] [ ethernet slot / port | loopback intf-num | mgmt mgmt-intf-num | port-channel channel-num | vlan vlan-id ] [ fhrp-non-active-learn ] [ static ] [ detail ] [ vrf { vrf-name | all | default | management }]]

Syntax Description

client
(Optional) Displays ARP information for ARP clients.
statistics
(Optional) Display the global ARP statistics on teh switch or the ARP statistics for interfaces.
summary
(Optional) Display the ARP adjacency summary information.
ethernet slot / port
(Optional) Displays the ARP information for an Ethernet interface. The slot number is from 1 to 255 and the port number is from 1 to 128.
loopback intf-num
(Optional) Displays the ARP information for a loopback interface. The loopback interface number is from 0 to 1023.
mgmt mgmt-intf-num
(Optional) Displays the ARP information for a management interface. The interface number is 0.
port-channel channel-num
(Optional) Displays the ARP information for an EtherChannel interface. The channel number range is from 1 to 4096.
vlan vlan-id
(Optional) Displays the ARP information for a specified VLAN. The range is from 1 to 4094, except for the VLANs reserved for internal use.
fhrp-non-active-learn
(Optional) Displays the ARP table information learned only due to a request for a nonactive Cisco First Hop Redundancy Protocol (FHRP) address.
static
(Optional) Displays the static ARP entries.
detail
(Optional) Displays the detailed ARP information.
vrf
(Optional) Specifies the virtual routing and forwarding (VRF) to use.
vrf-name
VRF name. The name can be a maximum of 32 alphanumeric characters and is case sensitive.
all
Displays all VRF entries for the specified VLAN in the ARP table.
default
Displays the default VRF entry for the specified VLAN.
management
Displays the management VRF entry for the specified VLAN.

Command Default

None

Command Modes

EXEC mode

Command History

Release
Modification
4.2(1)N1(1)
This command was introduced.
5.1(3)N1(1)
The client , ethernet , fhrp-non-active-learn , loopback , mgmt , port-channel , static , statistics , and summary keywords were added.

Usage Guidelines

You must use the feature interface-vlan command before you can display the ARP information for VLAN interfaces.

Examples

This example shows how to display the ARP table:

switch# show ip arp
 
IP ARP Table for context default
Total number of entries: 1
Address Age MAC Address Interface
90.10.10.2 00:03:11 000d.ece7.df7c Vlan900
switch#
 

This example shows how to display the detailed ARP table:

switch# show ip arp detail
 
IP ARP Table for context default
Total number of entries: 1
Address Age MAC Address Interface Physical Interface
90.10.10.2 00:02:55 000d.ece7.df7c Vlan900 Ethernet1/12
switch#
 

This example shows how to display the ARP table for VLAN 10 and all VRFs:

switch# show ip arp vlan 10 vrf all
 

The table below describes the fields shown in the above displays.

show ip arp Field Descriptions
Field
Description
IP ARP Table
Context in which the ARP table is applied.
Total number of entries
Total number of ARP entries or messages in the ARP table.
Address
IP address of the switch that the ARP table automatically maps to the MAC address of the switch.
Age
Duration since the switch with a MAC address was mapped to the IP address.
MAC Address
MAC address of the switch.
Interface
Switch interface where packets are forwarded.
Physical Interface
Physical interface, which can one of the following: Ethernet, loopback, EtherChannel, management, or VLAN.

Related Commands

Command
Description
clear ip arp
Clears the ARP cache and table.
feature interface-vlan
Enables the creation of VLAN interfaces.
show running-config arp
Displays the running ARP configuration.