4-4
View
Any view
Default Level
1: Monitor level
Parameters
all
: Displays all ARP entries.
dynamic
: Displays dynamic ARP entries.
static
: Displays static ARP entries.
vlan vlan-id
: Displays the ARP entries of the specified VLAN. The VLAN ID ranges from 1 to 4,094.
interface interface-type interface-number:
Displays the ARP entries of the interface specified by the
argument
interface-type interface-number
.
|
: Uses a regular expression to specify the ARP entries to be displayed. For more information about
regular expressions, see
CLI
in the
Fundamentals Configuration Guide
.
begin
: Displays 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 containing the specified string.
regular-expression
: A case-sensitive string for matching, consisting of 1 to 256 characters.
count
: Displays the number of ARP entries.
Description
Use the
display arp
command to display ARP entries in the ARP mapping table.
If no parameter is specified, all ARP entries are displayed.
Related commands:
arp static
and
reset arp
.
Examples
# Display the detailed information of all ARP entries.
<Sysname> display arp all
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
193.1.1.70 00e0-fe50-6503 100 Ethernet1/0/1 14 D
192.168.0.115 000d-88f7-9f7d 1 Ethernet1/0/2 18 D
Table 4-1 display arp
command output description
Field
Description
IP Address
IP address in an ARP entry
MAC Address
MAC address in an ARP entry
VLAN ID
VLAN ID contained a static ARP entry
Interface
Outbound interface in an ARP entry
Aging
Age timer for a dynamic ARP entry in minutes (“N/A” means unknown age timer or
no age timer)
Type
ARP entry type: D stands for dynamic, S for static, and A for authorized.