4-5
# Display the number of all ARP entries
<Sysname> display arp all count
Total Entry(ies): 2
display arp ip-address
Syntax
display arp
ip-address
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
View
Any view
Default Level
1: Monitor level
Parameters
ip-address:
Displays the ARP entry for the specified IP address.
|
: Uses a regular expression to specify the ARP entries to be displayed. For detailed information about
regular expressions, see
CLI
in the
Fundamentals Configuration Guide
.
begin
: Displays the ARP entries from the first one containing the specified string.
exclude
: Displays the ARP entries that do not contain the specified string.
Include
: Displays the ARP entries that contain the specified string.
regular-expression
: A case-sensitive string for matching, consisting of 1 to 256 characters.
Description
Use the
display arp ip-address
command to display the ARP entry for a specified IP address.
Related commands:
arp static
and
reset arp
.
Examples
# Display the corresponding ARP entry for the IP address 20.1.1.1.
<Sysname> display arp 20.1.1.1
Type: S-Static D-Dynamic
IP Address MAC Address VLAN ID Interface Aging Type
20.1.1.1 00e0-fc00-0001 N/A N/A N/A S
display arp timer aging
Syntax
display arp timer aging
View
Any view
Default Level
2: System level
Parameters
None