The debugging ipv6 packet command debugs IPv6 packets and displays debugging information.
The undo debugging ipv6 packet command disables debugging of IPv6 packets.
By default, the debugging of all ipv6 packet is disabled.
debugging ipv6 packet [ error ] [ min-length min-length-value ] [ max-length max-length-value ] [ source src-address6 ] [ destination dest-address6 ] [ interface { interface-name | interface-type interface-num } ] [ verbose [ verbose-length ] ] [ number print-value ]
undo debugging ipv6 packet [ error ]
Parameter | Description | Value |
---|---|---|
error |
Displays the specified IPv6 error packets. |
- |
min-length min-length-value |
Specifies the minimum packet length. |
The value is an integer ranging from 1 to 65535. |
max-length max-length-value |
Specifies the maximum packet length. |
The value is an integer ranging from 1 to 65535. |
source src-address6 |
Specifies the source IPv6 address. |
The address is a 32-bit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
destination dest-address6 |
Specifies the destination IPv6 address. |
The address is a 32-bit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
interface interface-name |
Specifies the interface name. |
- |
interface interface-type |
Specifies the interface type. |
- |
interface interface-num |
Specifies the interface number. |
- |
verbose verbose-length |
Specifies the length of the detailed packet information. |
The value is an integer ranging from 1 to 64, in bytes. The default value is 64. |
number print-value |
Specifies the number of the packet information. |
The value is an integer ranging from 1 to 4294967295, in bytes. By default, the value is 10. |
<HUAWEI> debugging ipv6 packet verbose 50
2011-04-18 17:41:11 HUAWEI %%01PP6/7/packet(d):CID=2154964763;Receiving packet. (IfIndex = 5, Version = 6,
TrafficClass = 0, FlowLabel = 0, PayloadLength = 64, HopLimit = 64, Src = 2001:db8:1::1, Dst = 2001:db8:1::1, NextHeader = ICMPv6,
Type = 128, Code = 0, Chechsum = 0x793F, EchoRequest, Identifier = 1312, SequenceNumber = 256)
Memory (IPv6 Pkt):
6000 0000 0040 3a40 2001 db80 0001 0000
0000 0000 0000 0001 2001 db80 0001 0000
0000 0000 0000 0001 8000 793f 0520 0100
0000
2011-04-18 17:41:11 HUAWEI %%01PP6/7/packet(d):CID=2154964763;Sending packet. (IfIndex = 5, Version = 6,
TrafficClass = 0, FlowLabel = 0, PayloadLength = 64, HopLimit = 64, Src = 2001:db8:1::1, Dst = 2001:db8:1::1, NextHeader = ICMPv6,
Type = 129, Code = 0, Chechsum = 0x783F, EchoReply, Identifier = 1312, SequenceNumber = 256)
Memory (IPv6 Pkt):
6000 0000 0040 3a40 2001 db80 0001 0000
0000 0000 0000 0001 2001 db80 0001 0000
0000 0000 0000 0001 8100 783f 0520 0100
0000
<HUAWEI> debugging ipv6 packet
2011-04-18 17:40:47 HUAWEI %%01PP6/7/packet(d):CID=2154964763;Receiving packet. (IfIndex = 5, Version = 6,
TrafficClass = 0, FlowLabel = 0, PayloadLength = 64, HopLimit = 64, Src = 2001:db8:1::1, Dst = 2001:db8:1::1, NextHeader = ICMPv6,
Type = 128, Code = 0, Chechsum = 0x795F, EchoRequest, Identifier = 1280, SequenceNumber = 256)
2011-04-18 17:40:47 HUAWEI %%01PP6/7/packet(d):CID=2154964763;Sending packet. (IfIndex = 5, Version = 6,
TrafficClass = 0, FlowLabel = 0, PayloadLength = 64, HopLimit = 64, Src = 2001:db8:1::1, Dst = 2001:db8:1::1, NextHeader = ICMPv6,
Type = 129, Code = 0, Chechsum = 0x785F, EchoReply, Identifier = 1280, SequenceNumber = 256)
Item | Description |
---|---|
Version | Version number. |
TrafficClass | Traffic class. |
FlowLabel | Flow label. |
PayloadLength | Payload length. |
HopLimit | Hop limit. |
Src | Source address. |
Dst | Destination address. |
NextHeader | Next packet header. |
Type | Types of ICMP packets. |
Code | Code of ICMP packets. |
Identifier | The Identifier of ICMP packet. |
SequenceNumber | The sequence number of ICMP packet. |
Memory (IPv6 Pkt) | IPv6 packet displayed in hexadecimal notation. |
CID | CID of the component that outputs the current information. |
Receiving packet | Receiving packet. |
Sending packet | Sending packet. |
IfIndex | Index of the interface over which packets are transmitted. |
EchoRequest | EchoRequest packet. |
EchoReply | EchoReply packet. |