debugging rawip

Function

The debugging rawip ipv6 packet command enables debugging of IPv6 RAWIP packets.

The undo debugging rawip ipv6 packet command disables debugging of IPv6 RAWIP packets.

The debugging rawip packet command enables debugging of RAWIP packets and outputs debugging information.

The undo debugging rawip packet command disables debugging of RAWIP packets.

By default, the debugging of RAWIP packets is disabled.

Format

debugging rawip packet [ src-ip src-address ] [ dest-ip dest-address ] [ protocol protocol-number ] [ verbose verbose-number ] [ socket-id socket-id ]

debugging rawip ipv6 packet [ src-ip src-address6 ] [ dest-ip dest-address6 ] [ protocol protocol-number ] [ verbose verbose-number ] [ socket-id socket-id ]

undo debugging rawip packet [ src-ip src-address ] [ dest-ip dest-address ] [ protocol protocol-number ] [ verbose verbose-number ] [ socket-id socket-id ]

undo debugging rawip ipv6 packet [ src-ip src-address6 ] [ dest-ip dest-address6 ] [ protocol protocol-number ] [ verbose verbose-number ] [ socket-id socket-id ]

Parameters

Parameter Description Value
src-ip src-address6

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

The address is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

src-ip src-address

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

The value is in dotted decimal notation or the value is a 32-digit hexadecimal number, in the X:X:X:X:X:X:X:X format.

dest-ip dest-address6

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

The address is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

dest-ip dest-address

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

The value is in dotted decimal notation or the value is a 32-digit hexadecimal number, in the X:X:X:X:X:X:X:X format.

protocol protocol-number

Specifies the protocol number so that packets with the same protocol number are filtered.

The value is an integer ranging from 0 to 255.

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.

The value is an integer ranging from 0 to 2147418111.

packet

Outputs 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 rawip ipv6 command enables debugging of IPv6 RAWIP packets sent and received by the host. For example, to check sending and receiving of IPv6 ping packets or diagnose interworking between OSPFv3 connections, run the debugging rawip ipv6 command.

The debugging rawip command enables debugging of the RAWIP packets sent and received by the host so that you can view sending and receiving of ping packets or diagnose interworking between OSPF connections. The debugging information helps locate faults.

Example

# Enable debugging of RAWIP packets, detect that the host sends a RAWIP packet.
<HUAWEI> debugging rawip packet
Detect that the host sends a RAWIP packet
 1 Aug  4 2011 11:55:30 HUAWEI %%01SOCKET/7/debug_rawip_packet(d):CID=0x806527
49;
870: Output: pid = 6629141, socketid = 36, protocol = 58, ifindex = 2,
src = 10.1.1.1, dst = 10.1.2.1, datelen = 24
# Enable debugging of IPv6 RAWIP packets, detect that the host sends an IPv6 RAWIP packet.
<HUAWEI> debugging rawip ipv6 packet
 Aug  4 2011 11:55:30 HUAWEI %%01SOCKET/7/debug_rawip_packet(d):CID=0x80652749;
870: Output: pid = 6629141, socketid = 36, protocol = 58, ifindex = 2,src = 2001:db8:1::1, dst = 2001:db8:2::1, datelen = 64
Table 1 Description of the debugging rawip command output
Item Description
pid

Path ID.

socketid

Socket ID.

protocol

Protocol number.

ifindex

Index of an interface.

src

Source IP address.

dst

Destination IP address.

datelen

Data length.

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