display arp
Use display arp to display ARP entries.
Syntax
display arp [ [ all | dynamic | multiport | static ] [ slot slot-number ] | vlan vlan-id | interface interface-type interface-number ] [ count | verbose ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
all: Displays all ARP entries.
dynamic: Displays dynamic ARP entries.
multiport: Displays multiport ARP entries.
static: Displays static ARP entries.
slot slot-number: Specifies an IRF member device by its member ID.
vlan vlan-id: Displays the ARP entries for the specified VLAN. The VLAN ID is in the range of 1 to 4094.
interface interface-type interface-number: Displays the ARP entries for the interface specified by the argument interface-type interface-number.
count: Displays the number of ARP entries.
verbose: Displays detailed information about ARP entries.
Usage guidelines
This command displays information about ARP entries, including the IP address, MAC address, VLAN ID, output interface, entry type, and aging timer.
If you do not specify any parameters, the command displays all ARP entries.
Examples
# Display all ARP entries.
<Sysname> display arp all Type: S-Static D-Dynamic O-Openflow M-Multiport I-Invalid IP Address MAC Address VLAN Interface Aging Type 20.1.1.1 00e0-fc00-0001 N/A N/A N/A S 193.1.1.70 00e0-fe50-6503 100 XGE1/0/1 N/A IS 192.168.0.115 000d-88f7-9f7d 1 XGE1/0/2 18 D 192.168.0.39 0012-a990-2241 1 XGE1/0/3 20 D 22.1.1.1 000c-299d-c041 10 N/A N/A M
# Display detailed information about all ARP entries.
<Sysname> display arp all verbose Type: S-Static D-Dynamic O-Openflow M-Multiport I-Invalid IP Address MAC Address VLAN Interface Aging Type Vpn Instance 20.1.1.1 00e0-fc00-0001 N/A N/A N/A S [No Vrf] 193.1.1.70 00e0-fe50-6503 100 XGE1/0/1 N/A IS [No Vrf] 192.168.0.115 000d-88f7-9f7d 1 XGE1/0/2 18 D [No Vrf] 192.168.0.39 0012-a990-2241 1 XGE1/0/3 20 D [No Vrf] 22.1.1.1 000c-299d-c041 10 N/A N/A M [No Vrf]
# Display the number of all ARP entries.
<Sysname> display arp all count Total number of entries : 5
Table 1: Command output
Field | Description |
---|---|
IP Address | IP address in an ARP entry. |
MAC Address | MAC address in an ARP entry. |
VLAN | ID of the VLAN to which the ARP entry belongs. This field displays N/A in either of the following situations:
|
Interface | Output interface in an ARP entry. This field displays N/A in either of the following situations:
|
Aging | Aging time for a dynamic ARP entry in minutes. N/A means unknown aging time or no aging time. |
Type | ARP entry type:
|
Vpn Instance | Name of VPN instance. [No Vrf] is displayed if no VPN instance is configured for the ARP entry. |
Total number of entries | Number of ARP entries. |
Related commands
arp static
reset arp