debugging arp process

Function

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

The undo debugging arp process command disables all ARP process debugging functions.

By default, all ARP debugging functions are disabled.

Format

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

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

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

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

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

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

Parameters

Parameter Description Value
slot slot-Id

Specifies the slot ID of a board.

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 interfaceName

Specifies the interface name.

-

interface ifType ifNum

Specifies the interface type and interface number.

-

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.

process

Enables the process debugging.

-

error

Enables the error debugging.

-

event

Enables the event debugging.

-

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.

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
Table 1 Description of the debugging arp process 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.
< Previous topic Next topic >