show arp

Displays the Address Resolution Protocol (ARP) table.
Syntax
show arp [ ip-addr [ ip-mask ] [ detail ] | decimal | dynamic | ethernet unit/slot/port | lag lag-id | mac-address mac-address [ mac-address ] | management port-number | pending | resource | static | statistics | summary | ve ve-number [ dynamic | pending | summary ] ]
show arp vrf vrf-name [ ip-addr [ ip-mask ] [ detail ] | decimal | dynamic | ethernet unit/slot/port | lag lag-id | mac-address mac-address [ mac-address ] | pending | static | summary | vxlan { gw gw-name site sitename | vni vni-id } ]
Parameters
ip-addr
Specifies an IP address.
ip-mask
Specifies the IPv4 mask.
detail
Specifies detailed information.
decimal
Specifies the number of entries to skip.
dynamic
Specifies dynamic ARPs.
ethernet unit/slot/port
Specifies an Ethernet interface.
lag lag-id
Specifies a LAG interface.
mac-address mac-address [ mac-address ]
Limits the output to the ARP entry that contains the specified MAC address.
management port-number
Specifies a management port.
pending
Specifies pending ARPs.
resource
Specifies resource information.
static
Specifies static ARPs.
statistics
Specifies ARP statistics.
summary
Specifies summarized information.
ve ve-number
Specifies a Virtual Ethernet (VE) interface.
vrf vrf-name
Specifies ARP entries belonging to a given VRF instance.
vxlan
Specifies ARP entries specific to VXLAN overlay gateway.
gw gw-name
Specifies an overlay gateway.
site sitename
Specifies a VXLAN site.
vni vni-id
Specifies a VXLAN Network Identifier (VNI).
Modes

User EXEC mode

Usage Guidelines

The ve option is not available for stack member units.

You may enter a second MAC address without re-entering the mac-address keyword to display information for two ARP entries.

The show arp command displays the following information:

Output field Description
IP Address The IP address of the entry.
MAC Address The MAC address of the entry.
Type ARP entry type. The options are :
  • Static: The Layer 3 switch loaded the entry from the static ARP table when the device for the entry was connected to the Layer 3 switch.
  • Dynamic: The Layer 3 switch learned the entry from an incoming packet.
  • DHCP: The Layer 3 Switch learned the entry from the DHCP binding address table. In this case, the port number is not available until the entry gets resolved through ARP.
Age The number of minutes since the ARP entry was refreshed. If this value reaches the defined ARP aging period, the entry is removed from the table. Static entries do not age out.
Port Port associated with the ARP entry.
Status Status of the ARP entry, either valid or pending.
ARP entries per interface The number of ARP entries for each interface.
Dynamic The number of dynamic ARP entries.
Pending The number of pending ARP entries.
Interface The type and number of a specific interface.
Pending count The number of pending ARP entries.
Dynamic count The number of dynamic ARP entries.
Static count The number of static ARP entries.
Examples

The following example displays the ARP table.

device> show arp

Total number of ARP entries: 3
Entries in default routing instance:
No.   IP Address       MAC Address    Type     Age Port               Status
1     10.176.150.129   02e0.52cb.55c8 Dynamic  0    mgmt1             Valid
2     10.1.1.2         903a.7205.07c0 Dynamic  1    1/1/5             Valid
3     10.1.1.3         000a.000b.000c Static   0    1/1/5             Valid

The following example displays detailed ARP information.

device> show arp detail

Total number of ARP entries: 3
Entries in default routing instance:
No.   IP Address       MAC Address    Type     Age Port        VLAN       Status
1     10.176.150.129   02e0.52cb.55c8 Dynamic  0    mgmt1      1          Valid
2     10.1.1.2         903a.7205.07c0 Dynamic  1    1/1/5      100        Valid
3     10.1.1.3         000a.000b.000c Static   0    1/1/5      100        Valid

The following example shows ARP resource information.

device> show arp resource  
                                                                          
4 ARPs in table, maximum #: 61000 

The following example shows summarized ARP information.

device> show arp summary

Printing summary for default vrf:
Pending count   : 0
Dynamic count   : 2
Static count    : 2

The following example shows summarized ARP information for a VE interface for a Layer 3 router.

device> show arp ve 10 summary
	
Interface    : ve 10
Dynamic ARP    : 7
Pending ARP    : 3

The following example shows ARP statistics.

device> show arp statistics

 ARP packets Tx/Rx in the last few sec:
                     ARP  REQ             ARP REP
                   TX        RX        TX        RX
5     sec :        3         20        5         0
30    sec :        9         122       30        0
60    sec :        18        245       61        0
300   sec :        112       1225      302       8

The following example shows dynamic ARP information.

device> show arp dynamic

No.   IP Address       MAC Address    Type     Age Port               Status
1     10.177.114.129   02e0.5297.56a0 Dynamic  0    mgmt1             Valid
2     10.177.114.130   cc4e.2445.1e00 Dynamic  2    mgmt1             Valid
3     10.177.114.131   cc4e.2445.0400 Dynamic  0    mgmt1             Valid
4     30.30.30.1       903a.7205.3b18 Dynamic  2    1/1/3             Valid
5     30.30.31.1       903a.7205.3b18 Dynamic  2    1/1/3             Valid

The following example shows pending ARP information.

device> show arp pending

Number of pending entries 1
No.   IP Address       MAC Address    Type        Age   Port               Status
1      10.1.1.52       None           Dynamic     0      v10               Pend

The following example shows static ARP information.

device> show arp static

No.   IP Address       MAC Address    Type     Age Port               Status
1     10.1.1.50        000a.000b.000c Static   0    1/1/1             Valid
2     10.1.1.51        000a.000c.000d Static   0    1/1/1             Valid

The following example shows ARP entries for a specified VXLAN overlay gateway site.

device> show arp vrf overlay vxlan gw gw1 site godzilla
 
No.   IP Address       MAC Address    Type     Age  Port      VLAN      Status
1     101.1.1.3        c803.f53a.62e8 Dynamic  1    VxL-3.3.3.3   101    Valid 
2     101.1.1.4        0010.9400.0065 Dynamic  1    VxL-3.3.3.3   101    Valid 
3     101.1.1.5        0010.9400.0066 Dynamic  1    VxL-3.3.3.3   101    Valid 
4     101.1.1.6        0010.9400.0067 Dynamic  1    VxL-3.3.3.3   101    Valid 
5     101.1.1.7        0010.9400.0068 Dynamic  1    VxL-3.3.3.3   101    Valid 
6     101.1.1.8        0010.9400.0069 Dynamic  1    VxL-3.3.3.3   101    Valid 
7     101.1.1.9        0010.9400.006a Dynamic  1    VxL-3.3.3.3   101    Valid 
8     101.1.1.10       0010.9400.006b Dynamic  1    VxL-3.3.3.3   101    Valid 
9     101.1.1.11       0010.9400.006c Dynamic  1    VxL-3.3.3.3   101    Valid 
10    101.1.1.12       0010.9400.006d Dynamic  1    VxL-3.3.3.3   101    Valid 
11    101.1.1.13       0010.9400.006e Dynamic  1    VxL-3.3.3.3   101    Valid 
12    101.1.1.14       0010.9400.006f Dynamic  1    VxL-3.3.3.3   101    Valid

The following example shows ARP entries for a VNI associated with a VXLAN overlay gateway site.

device> show arp vrf overlay vxlan vni 100

No.   IP Address       MAC Address    Type     Age  Port      VLAN      Status
1     100.1.1.3        c803.f53a.62e8 Dynamic  0    VxL-3.3.3.3   100    Valid
History
Release version Command history
08.0.95 The decimal, detail, dynamic, pending, static, statistics, summary, and ve options were added.
09.0.00 The inspect option was removed.
09.0.10d The vxlan gw gw-name site sitename and vxlan vni vni-id options were added.
10.0.10 The vxlan gw gw-name site sitename and vxlan vni vni-id options were added.