display arp statistics

Function

The display arp statistics command displays Address Resolution Protocol (ARP) entry statistics.

Format

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

display arp statistics slot slot-id [ verbose ]

display arp statistics static

Parameters

Parameter Description Value
all

Displays statistics about all ARP entries on a device.

-

interface interface-name

Displays statistics about ARP entries on a specifies the name of an interface.

-

interface interface-type interface-number

Displays statistics about ARP entries on a specifies the type and number of an interface.

-

slot slot-id

Displays ARP entries of the board in a specified slot.

In VS mode, this parameter is supported only by the admin VS.

-

verbose

Displays detailed statistics about dynamic ARP entries learned by a specified interface board.

-

static

Displays the maximum number of static ARP entries on a device and the current number of static ARP entries.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
arp read

Usage Guidelines

Usage Scenario

To check ARP entry statistics or locate ARP faults, run the display arp statistics command.

Precautions

For centralized devices and the distributed devices that are not equipped with an interface boardARP statistics cannot be viewed based on the slot ID where the interface board resides. Instead, ARP statistics can be viewed by device or interface.

To view the number of ARP entries learned by various types of interfaces, and the number of remaining resources, run the display arp statistics slot slot-id verbose command. The AVAILABLE field in the command output indicates the number of dynamic ARP entries that can be learned by the interfaces of the same type on the current board. When the value of the AVAILABLE field is 0:

  • If fake ARP entries exist on the board, the board can learn extra dynamic ARP entries by replacing the fake ARP entries.
  • If no fake ARP entries exist on the board, the board cannot learn extra dynamic ARP entries.
  • The number of remaining resources is collected by board. Interface limitations are not taken into consideration.
  • If the generated entries include fake entries, even when the number of entries has reached the threshold, new entries can be added by occupying the space of fake entries. This situation is not considered for the calculation of the number of remaining resources.
  • Statistics collection for fake entries is supported in this command.

    In VS mode, this command is supported only by the admin VS.

Example

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

# Display ARP entry statistics about the device.
<HUAWEI> display arp statistics all
Dynamic:106       Static:0       Remote: 0       Redirect:800
# Display ARP entry statistics about the interface board in slot 1.
<HUAWEI> display arp statistics slot 1
Dynamic: 0       Static: 0       Remote: 0       Redirect: 0
Table 1 Description of the display arp statistics command output
Item Description
Dynamic

Number of dynamic ARP entries.

Static

Number of static ARP entries.

Remote

Number of remote backup ARP entries.

Redirect

Number of redirected ARP entries.

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