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.
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. |
- |
<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].
Item | Description |
---|---|
pid | Path ID. |
socketid | Socket ID. |
ifindex | Index of an interface. |
SRC MAC | Source MAC address. |
DST MAC | Destination MAC address. |