debugging arp

Function

The debugging arp command enables all ARP debugging functions and outputs debugging information.

The undo debugging arp command disables all ARP debugging functions.

The debugging arp remote-backup packet command enables the debugging of ARP hot-backup entries on the master or backup device.

The undo debugging arp remote-backup packet command disables the debugging of ARP hot-backup entries on the master or backup device.

By default, all ARP debugging functions are disabled.

Format

debugging arp packet [ [ slot slot-Id ] | [ interface { interfaceName | ifType ifNum } [ ip ipValue ] ] | [ bridge-domain bridge-domain-id ] ]

debugging arp remote-backup packet [ [ slot slot-Id ] | [ interface { interfaceName | ifType ifNum } ] ]

undo debugging arp packet [ [ slot slot-Id ] | [ interface { interfaceName | ifType ifNum } [ ip ipValue ] ] | [ bridge-domain bridge-domain-id ] ]

undo debugging arp remote-backup packet [ [ slot slot-Id ] | [ interface { interfaceName | ifType ifNum } ] ]

Parameters

Parameter Description Value
slot slot-Id

Specifies a slot ID.

This parameter is supported only on the admin VS.

The value is a string of 1 to 23 case-sensitive characters, spaces not supported.

interface ifType ifNum

Specifies the interface type and interface number.

-

interface interfaceName

Specifies the interface name.

-

ip ipValue

Specifies the IP address of an interface.

The value is in dotted decimal notation.

bridge-domain bridge-domain-id

Specifies the ID of a bridge domain.

The value is an integer ranging from 1 to 16777215.

Views

User view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
arp debug

Usage Guidelines

Usage Scenario

When an ARP fault occurs, run the debugging arp command to output the debugging information. The output information helps you quickly locate the fault.

Debugging affects system performance. Therefore, run the undo debugging all command when debugging is complete. In addition, when the CPU usage is close to 100%, debugging of ARP packets may cause board reset. Therefore, exercise caution when using this command.

To check the processing of ARP hot-backup ARP entries on the master or backup device, run the debugging arp remote-backup packet command. The debugging information helps you locate dual-system backup faults.

Prerequisites

To display debugging information on the terminal, run the terminal monitor and terminal debugging commands.

Precautions

You can specify the interface type and interface number in the command to reduce the output amount of debugging information and improve information usability as well as the accuracy and efficiency of fault locating.

Example

# Enable debugging of ARP packets, and display the debugging information on the terminal.
<HUAWEI> debugging arp packet
Apr 25 2013 09:35:01.462 HUAWEI %%01ARP/7/ARP_DBG_PACKET_SND(d):CID=0x80770413;Send an ARP Packet, operation : 2, send_eth_addr : xxxx-xxxx-xxxx, sender_ip_addr : 10.10.10.1, target_eth_addr : xxxx-xxxx-xxxx, target_ip_addr : 10.10.10.2
Apr 25 2013 09:35:01.462 HUAWEI %%01ARP/7/ARP_DBG_PACKET_RCV(d):CID=0x80770413;Receive an ARP Packet, operation : 1, send_eth_addr : xxxx-xxxx-xxxx, sender_ip_addr : 10.10.10.2, target_eth_addr : xxxx-xxxx-xxxx, target_ip_addr : 10.10.10.1
# Enable the debugging of ARP hot-backup entries on the master or backup device.
<HUAWEI> debugging arp remote-backup packet
Table 1 Description of the debugging arp command output
Item Description
operation

operation.

send_eth_addr

Ethernet address of the sender, that is, the Media Access Control (MAC) address of the sender.

sender_ip_addr

IP address of the sender.

target_eth_addr

Ethernet address of the recipient, that is, the MAC address of the recipient.

target_ip_addr

IP address of the recipient.

Receive an ARP Packet

An ARP packet is received.

Send an ARP Packet

An ARP packet is sent.

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