The display arp interface command displays the dynamic Address Resolution Protocol (ARP) mapping table on the specified interface.
| Parameter | Description | Value |
|---|---|---|
interface-type interface-number |
Specifies the interface type and number. |
- |
vid vlan-id |
Indicates the VLAN ID.It identifies a VLAN. |
The value is an integer ranging from 1 to 4094. |
You can run this command to view contents of ARP entries when you need to monitor dynamic ARP entries or locate the faults in ARP.
The command output differs on devices. For details, refer to related command reference.
# View all ARP entries on GigabitEthernet 0/0/1.
<sysname> display arp interface GigabitEthernet 0/0/1
IP ADDRESS MAC ADDRESS EXPIRE(M) TYPE INTERFACE VPN-INSTANCE
VLAN
------------------------------------------------------------------------------
192.168.1.11 0000-****-0201 I - GigabitEthernet 0/0/1
192.168.1.1 0000-****-0200 15 D-6 GigabitEthernet 0/0/1
------------------------------------------------------------------------------
Total:2 Dynamic:1 Static:0 Interface:1
Item |
Description |
|---|---|
IP ADDRESS |
IP addresses in ARP entries. |
MAC ADDRESS |
MAC addresses in ARP entries. If the field is Incomplete, the entry is a fake ARP entry. If a large number of ARP Miss messages are sent to the upper-layer software, the system resources will be exhausted in processing the ARP Miss messages. To resolve this problem, the system automatically generates ARP fake entries instead of ARP entries. |
EXPIRE(M) |
Remaining lifetime of the ARP entry, in minutes. The remaining lifetime can be set using the arp detect-times command. |
TYPE |
Entry type and number of the slot that obtains the entry. The entry type contains 3 bits. The first bit can be as follows:
NOTE:
The third bit indicates the number of the slot that obtains this entry.If the entry is not reported to the routing module, this field displays "-". For the ARP entry with the type as "I", this flag bit does not exist. NOTE:
For the ARP entry with the type as "I" or "S", this field displays "-". |
VPN-INSTANCE |
Name of the VPN instance to which the ARP entry belongs. |
INTERFACE |
Type and number of the interface that has learnt ARP entries. If the field is Multi-port:n, the interface learns an ARP entry in which the MAC address is configured for n interfaces. |
VLAN |
VLAN ID of the subinterface to which the ARP entry belongs. |
Total |
Total number of ARP entries. |
Dynamic |
Number of dynamic ARP entries. |
Static |
Number of static ARP entries. |
Interface |
Number of ARP entries on the interface. |