display arp slot

Function

The display arp slot command displays the Address Resolution Protocol (ARP) entries on an interface board.

Format

display arp slot slot-id [ network ip-address [ ip-mask | mask-length ] ] [ dynamic | static ]

display arp { network ip-address [ ip-mask | mask-length ] [ dynamic | static ] | dynamic | static }

Parameters

Parameter Description Value
network ip-address

Displays ARP entries based on the network ID expressed in dotted decimal notation.

The value is in dotted decimal notation.

ip-mask

Displays ARP entries based on the subnet mask of a specified network ID. The format of the subnet mask is X.X.X.X.

The value is in dotted decimal notation.

mask-length

Displays ARP entries based on the subnet mask length of a specified network ID.

The value ranges from 1 to 32

dynamic

Displays dynamic ARP entries.

-

static

Displays static ARP entries.

-

slot slot-id

Displays ARP entries of the board in a specified slot.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
arp read

Usage Guidelines

Usage Scenario

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

You cannot specify a slot ID to view ARP entries on centralized devices or distributed devices that do not have interface boards.

This command is supported only on physical systems (PSs).

Example

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

# Display ARP entries on the interface board in slot 1.
<HUAWEI> display arp slot 1
IP ADDRESS      MAC ADDRESS     EXPIRE(M) TYPE        INTERFACE   VPN-INSTANCE
                                          VLAN/CEVLAN PVC
------------------------------------------------------------------------------
192.168.1.12    00e0-fc41-0202            I -         GE0/1/1       r2
192.168.1.1     00e0-fc41-0200  17        D-6         GE0/1/1       r2
192.168.1.11    00e0-fc41-0201            I -         GE0/1/0       r1
192.168.1.1     00e0-fc41-0200  17        D-6         GE0/1/0       r1
------------------------------------------------------------------------------
Total:4         Dynamic:2       Static:0    Interface:2    Remote:0
Redirect:0
Table 1 Description of the display arp slot command output
Item Description
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.

INTERFACE

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

VPN-INSTANCE

VPN instance name of an ARP entry.

EXPIRE(M)

Remaining lifetime 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 entries that have not been reported to the routing module are displayed as "-". This flag does not exist for the ARP entries of the I type.
  • The third bit indicates the slot ID of the interface board from which the entry is obtained.The third bit displays a hyphen (-) for ARP entries with the type as "I" or "S".
VLAN/CEVLAN

VLAN ID of an ARP entry.

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 remote backup ARP entries.

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