< Home

display arp interface

Function

The display arp interface command displays the dynamic Address Resolution Protocol (ARP) mapping table on the specified interface.

Format

display arp interface interface-type interface-number [ vid vlan-id ]

Parameters

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.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

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.

Example

# 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     
Table 1 Description of the display arp interface command output

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:
  • I: Interface, indicating the MAC address of the interface

  • D: Dynamic, indicating the dynamic entry obtained through the ARP packet

  • S: Static, indicating the static entry obtained through static configuration

  • R: Remote, indicating the ARP entry obtained through remote backup

The second bit can only be F, indicating that the entry is reported to the routing module, the route to this IP address is calculated, and the entries in the FIB are correspondingly updated.
NOTE:

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.

The third bit indicates the number of the slot that obtains this entry.
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.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >