debugging ipv6 nd

Function

The debugging ipv6 nd command debugs IPv6 packets and the ND state machine, and displays debugging information.

The undo debugging ipv6 nd command disables debugging of IPv6 packets and the ND state machine.

By default, the debugging of all ND command is disabled.

Format

debugging ipv6 nd [ source src-address6 ] [ destination dest-address6 ] [ interface { interface-name | interface-type interface-num } ] [ verbose [ verbose-length ] ] [ number print-value ]

undo debugging ipv6 nd

Parameters

Parameter Description Value
source src-address6

Specifies the source IPv6 address.

The value is a 128-bit hexadecimal number, in the X:X:X:X:X:X:X:X format.

destination dest-address6

Specifies the destination IPv6 address.

The value is a 128-bit hexadecimal number, in the X:X:X:X:X:X:X:X format.

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. By default, the value is 64 bytes.

number print-value

Specifies the number of the packet information.

The value is an integer ranging from 1 to 4294967295, bytes. By default, the value is 10.

Views

User view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
nd debug

Usage Guidelines

Usage Scenario

The debugging ipv6 nd command displays IPv6 ND packets and the information about the ND state machine for locating system exceptions.

Precautions

When the packet length exceeds the length specified by verbose-length, the information about the length specified by verbose-length is printed.

When the packet is shorter than verbose-length,the information about the actual length is printed.

Example

# Enable debugging on IPv6 ND packets and the information about the ND state machine.
<HUAWEI> debugging ipv6 nd interface gigabitethernet 0/1/0
<HUAWEI> terminal debugging
Info: Current terminal debugging is on.
<HUAWEI> ping ipv6 -c 1 2001:db8::2
PING 2001:db8::2 : 56  data bytes, press CTRL_C to break
Mar 30 2012 08:37:20.623 HUAWEI %%01ND/7/packet(d):CID=0x80730411;On The Interface gigabitethernet 0/1/0, Received NDMISS: 2001:db8::2
Mar 30 2012 08:37:20.623 HUAWEI %%01ND/7/packet(d):CID=0x80730411;On The Interface gigabitethernet 0/1/0, Adding NB Entry: 2001:db8::2  NB State : INCOMPLETE
Mar 30 2012 08:37:20.623 HUAWEI %%01ND/7/packet(d):CID=0x80730411;On The Interface gigabitethernet 0/1/0, Sending NS to 2001:db8::FF00:2, IP6(Version = 6, TrafficClass = 192, FlowLabel = 0, PayloadLength = 32, HopLimit = 255, NextHeader = 58, Src = 2001:db8::1, Dst = 2001:db8::FF00:2), ICMP6(Type = 135(NS), Code = 0, Checksum = 0x8E98, Reserved = 0, TargetAddr = 2001:db8::2, Type = 1, Length = 1, SrcLLAddr = 00e0-fc12-3456)
Mar 30 2012 08:37:20.713 HUAWEI %%01ND/7/packet(d):CID=0x80730411;On The Interface gigabitethernet 0/1/0, Sending NS to 2001:db8::FF00:2, IP6(Version = 6, TrafficClass = 192, FlowLabel = 0, PayloadLength = 32, HopLimit = 255, NextHeader = 58, Src = 2001:db8::1, Dst = 2001:db8::FF00:2), ICMP6(Type = 135(NS), Code = 0, Checksum = 0x8E98, Reserved = 0, TargetAddr = 2001:db8::2, Type = 1, Length = 1, SrcLLAddr = 00e0-fc12-3456)
    Request time out
  ---2001:db8::2 ping statistics---
    1 packet(s) transmitted
    0 packet(s) received
    100.00% packet loss
    round-trip min/avg/max=0/0/0 ms
Table 1 Description of the debugging ipv6 nd command output
Item Description
Received NDMISS

Received NDMISS event.

Adding NB Entry

Adding NB entry.

NB State

NB entry status:

  • INCOMPLETE: false entry.
  • REACHABLE: reachable entry.
  • STALE: out-of-date entry.
  • DELAY: delayed entry.
  • PROBE: probe entry.
Sending NS to

Sending NS packets to the peer.

TrafficClass

Type of communication traffic.

FlowLabel

Flow label.

PayloadLength

Valid payload length.

HopLimit

Hop limit.

NextHeader

Next-hop packet header.

Src

Source IPv6 address.

Dst

Destination IPv6 address.

Code

ICMP packet code.

Checksum

ICMP packet checksum.

Reserved

Reserved word in the ICMP packet.

TargetAddr

Destination IP address in the ICMP packet.

Type

ICMP packet type.

Length

ICMP packet length.

SrcLLAddr

Source link-local IPv6 address.

CID

CID of the component to which the output information belongs.

Version

Version number.

ICMP6

ICMP6 protocol.

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