show arp
Syntax
Release Information
Command introduced before Junos OS Release 7.4.
expiration-time option added in Junos OS Release 8.1.
logical-system and vpn options added in Junos OS Release 10.1.
Description
Display all entries in the Address Resolution Protocol (ARP) table. To display entries for a particular logical system only, first enter the set cli logical-system logical-system-name command, and then enter the show arp command.
Options
- none
Display the entries in the ARP table.
- expiration-time
(Optional) Display the amount of time, in seconds, until each ARP entry is set to expire.
- logical-system logical-system-name
(Optional) Display ARP entries for the specified logical system; only available on the main router context.
- no-resolve
(Optional) Do not attempt to determine the hostname that corresponds to the IP address.
- vpn vpn-name
(Optional) Display entries in the ARP table for the specified virtual private network’s (VPN) routing table.
Required Privilege Level
view
Related Topics
List of Sample Output
show arpshow arp no-resolve
show arp expiration-time
Output Fields
Table 1 describes the output fields for the show arp command. Output fields are listed in the approximate order in which they appear.
Table 1: show arp Output Fields
Field Name | Field Description |
|---|---|
MAC Address | Media access control (MAC) address that corresponds to the IP address. |
Address | IP address that corresponds to the hostname. |
Name | Hostname. |
Interface | Interface name. |
Flags | (no-resolve option only) Indicates how mappings between IP and MAC addresses are defined:
|
TTE | (expiration-time option only) Amount of time, in seconds, until ARP entry is set to expire. |
Sample Output
show arp
user@host> show arp MAC Address Address Name Interface 00:e0:81:22:fd:74 192.168.64.10 firewall.my.net fxp0.0 00:04:5a:65:78:e1 192.168.65.13 lab.my net fxp0.0
show arp no-resolve
user@host> show arp no-resolve MAC Address Address Interface Flags 00:90:69:96:00:01 10.10.45.5 fe-0/0/1.0 none 00:00:00:00:00:01 200.200.200.1 fe-0/0/0.0 permanent published 00:00:00:00:00:02 200.200.200.2 fe-0/0/0.0 permanent 00:90:69:91:b0:00 200.200.200.3 fe-0/0/0.0 none Total entries: 4
show arp expiration-time
user@host> show arp expiration-time MAC Address Address Name Interface Flags TTE 00:a0:a5:12:3e:d4 10.0.0.5 10.0.0.5 fxp1.0 none 00:e0:81:22:fd:74 192.168.64.10 supernova.englab.juniper. fxp0.0 none 1491 00:30:48:84:03:56 192.168.65.46 kgb.englab.juniper.net fxp0.0 none 1279 00:03:ba:12:f7:5e 192.168.65.226 nmssun1-eri0.englab.junip fxp0.0 none 452 00:90:69:8e:b0:fc 192.168.71.254 stonewall-ge-200.englab.j fxp0.0 none 1421 Total entries: 5
