display arp

Function

The display arp command displays Address Resolution Protocol (ARP) specifies the interface.

Format

display arp { all | interface { interface-name | interface-type interface-number } }

display arp interface { interface-name | interface-type interface-number } vid vlan-id [ cevid cevlan-id ]

Parameters

Parameter Description Value
all

Displays Address Resolution Protocol (ARP) entries of all interface boards.

-

interface interface-type interface-number

Displays ARP entries learned by a specified interface.

-

interface interface-name

Specifies the name of an interface.

-

vid vlan-id

Specifies the VLAN ID corresponding to a static ARP entry.

If this parameter is specified, the static ARP entry belongs to the specified VLAN.

The value is an integer that ranges from 1 to 4094.

cevid cevlan-id

Specifies the inner VLAN ID corresponding to a static ARP entry.

The value is an integer that ranges from 1 to 4094.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
arp read

Usage Guidelines

Usage Scenario

To check entries of all interface boards, run the display arp all command.

To check ARP entries learned by an interface or locate ARP faults on an interface, run the display arp interface command.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display ARP entries on GigabitEthernet 0/1/1.
<HUAWEI> display arp interface gigabitethernet0/1/1
ARP timeout:1200s
IP ADDRESS      MAC ADDRESS     EXPIRE(M) TYPE        INTERFACE   VPN-INSTANCE
                                          VLAN/CEVLAN PVC
------------------------------------------------------------------------------
192.168.1.11    00e0-fc41-0201            I -         GE0/1/1       r1
192.168.1.1     00e0-fc41-0200  15        D-6         GE0/1/1       r1
------------------------------------------------------------------------------
Total:2         Dynamic:1       Static:0    Interface:1    Remote:0
Redirect:0
Table 1 Description of the display arp command output
Item Description
ARP timeout

Effective aging time of ARP entries on an interface, in seconds.

IP ADDRESS

IP address in an ARP entry.

MAC ADDRESS

MAC address in the ARP entry. When an IP packet triggers an ARP Miss message, the device generates a MAC address with the Incomplete flag based on the ARP Miss message.

EXPIRE(M)

Remaining aging time of an ARP entry, in minutes.

TYPE

Type and slot ID of an ARP entry. The entry type contains 3 bits. The first bit can be any of the following:

  • I: Interface, indicating an interface's ARP entry.
  • D: Dynamic, indicating dynamic entries obtained using ARP messages.
  • S: Static, indicating static ARP entries configured.
  • R: Remote, indicating the ARP entry obtained through remote backup.
  • RD: Redirect, indicating a redirected ARP entry.

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 entry is installed to the FIB.

The third bit indicates the slot ID of the interface board from which the entry is obtained.

INTERFACE

Type and number of an interface that has learned ARP entries.

VPN-INSTANCE

Name of the VPN instance to which the ARP entry belongs.

VLAN/CEVLAN

ID of the VLAN to which an ARP entry belongs.

PVC

Interface on which a PVC is configured and corresponding VPI/VCI.

Redirect

Number of redirected ARP entries.

Interface

Number of ARP entries for the local interface in the ARP table.

Total

Number of ARP entries in the ARP table.

Dynamic

Number of dynamic ARP entries in the ARP table.

Static

Number of static ARP entries in the ARP table.

Remote

Number of ARP entries backed up in hot backup mode.

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