debugging rawlink

Function

The debugging rawlink command enables debugging of RAWLINK packets and outputs debugging information.

The undo debugging rawlink command disables debugging of RAWLINK packets.

By default, the debugging of RAWLINK packets is disabled.

Format

debugging rawlink packet [ src-mac src-mac ] [ dest-mac dest-mac ] [ verbose verbose-number ] [ socket-id socket-id ]

undo debugging rawlink packet [ src-mac src-mac ] [ dest-mac dest-mac ] [ verbose verbose-number ] [ socket-id socket-id ]

Parameters

Parameter Description Value
src-mac src-mac

Specifies the source physical address so that packets with the same source physical address are filtered.

The value is in the format of H-H-H. Each H is a 4-digit hexadecimal number, such as 00e0 or fc01. If an H contains less than four bits, 0 is padded ahead. For example, if e0 is entered, it is equal to 00e0. A MAC address cannot be set to all 0s or all 1s.

dest-mac dest-mac

Specifies the destination physical address so that packets with the same destination physical address are filtered.

The value is in the format of H-H-H. Each H is a 4-digit hexadecimal number, such as 00e0 or fc01. If an H contains less than four bits, 0 is padded ahead. For example, if e0 is entered, it is equal to 00e0. A MAC address cannot be set to all 0s or all 1s.

verbose verbose-number

Displays the detailed information about a packet.

The value is an integer ranging from 0 to 64.

socket-id socket-id

Specifies the Socket ID so that packets with the same Socket ID are filtered.

The value is an integer ranging from 0 to 2147418111.

packet

Debugs a packet.

-

Views

User view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
ip-stack debug

Usage Guidelines

Usage Scenario

The debugging rawlink command enables debugging of RAWLINK packets and outputs debugging information about the RAWLINK packets sent and received by the host. For example, to diagnose interworking between IS-IS connections, run the debugging rawlink command.

Example

# Enable debugging of RAWLINK packets, detect that the host sends a RAWLINK packet.
<HUAWEI> debugging rawlink packet
2037-11-24 22:03:37 RT5 %%01SOCKET/7/debug_rawlink_packet(d):CID=2154112826
;
820: Output: pid = 6629167, socketid = 21748, ifindex = 375,
SRC MAC[0 0 0 0 0 0].DST MAC[9 0 2b 0 0 5].
Table 1 Description of the debugging rawlink command output
Item Description
pid

Path ID.

socketid

Socket ID.

ifindex

Index of an interface.

SRC MAC

Source MAC address.

DST MAC

Destination MAC address.

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