show arp
Use this command to display ARP entry information.
Command Syntax
show arp (| (A.B.C.D | detail | static) (| vrf (all | VRFNAME | default)))
show arp IFNAME (| vrf (all | VRFNAME | default))
show arp summary (|IFNAME) (| vrf (all | VRFNAME | default))
Parameters
detail
Display detailed information.
static
Display static ARP entries.
A.B.C.D
Specify the IP address of the ARP entry.
IFNAME
Specify the name of the interface.
all
All VRFs.
VRFNAME
VPN routing/forwarding instance name.
default
Default VRF.
Command Mode
Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#show arp
Flags: D - Static Adjacencies attached to down interface
IP ARP Table for context default
Total number of entries: 2
Address Age MAC Address Interface State
10.12.18.1 00:00:18 44e4.d982.274b eth0 REACHABLE
10.10.10.20 00:02:33 a8b1.d433.4140 xe1 STALE
#show arp summary vrf default
IP ARP Table - Adjacency Summary
Resolved : 2
Incomplete : 0
Unknown : 0
Total : 2
Table 1-84 explains the show command output fields.
Table 1-84: show arp output details
Entry | Description |
---|
Address | ARP entry’s IP address in the device. |
Age | The number of minutes before the ARP entry was refreshed. If this value reaches the ARP aging period, the entry is removed from the table. Static entries do not age out. |
MAC Address | Physical address of the host. |
Interface | Logical address to connect the device over network. |
State | INCOMPLETE – first ARP request sent, send ARP request. REACHABLE – normal expiration reset use counter. STALE – still usable; needs verification reset use counter; change state to delay. DELAY – schedule ARP request; needs verification reset use counter. PROBE – sending ARP request reset use counter. FAILED – no response received send ARP request. NOARP – normal expiration; never verified reset use counter. PERMANENT – never expires; never verified reset use counter. |
Network devices are considered adjacent if they can reach each other with a single hop. The summary command shows the count of the state of devices that are adjacencies.
Table 1-85 explains the show command output fields.
Table 1-85: show arp summary output details
Field | Description |
---|
Resolved | Count of working/known adjacencies. |
Incomplete | Count of yet to be established adjacencies. |
unknown | Count of adjacencies not currently in ARP table. |
Total | Total count of all adjacencies. |
Last modified date: 08/28/2023