4
display arp
Syntax
display arp [ [ all | dynamic | static ] [ slot slot-number ] | vlan vlan-id | interface interface-type
interface-number ] [ count ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
all: Displays all ARP entries.
dynamic: Displays dynamic ARP entries.
static: Displays static ARP entries.
slot slot-number: Displays the ARP entries of the specified device. If the device is in an IRF, the slot-number
argument represents the member ID of the device; if the device is not in any IRF, the slot-number argument
represents the current device ID.
If the switch does not support IRF, the slot-number argument must be 1.
vlan vlan-id: Displays the ARP entries of the specified VLAN. The VLAN ID ranges from 1 to 4094.
interface interface-type interface-number: Displays the ARP entries of the interface specified by the
argument interface-type interface-number.
count: Displays the number of ARP entries.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see the Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression..
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
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
192.168.0.254 00e0-fc00-5112 1 GE1/0/19 17 D
192.168.0.235 00e0-fc02-2181 1 GE1/0/19 20 D
192.168.0.74 0023-895f-9550 1 GE1/0/19 19 D
192.168.0.3 000d-88f8-4e71 1 GE1/0/19 10 D