debugging ipv6 tunnel

Function

The debugging ipv6 tunnel packet command enables the debugging of ingress and egress 6over4 tunnels, and displays debugging information.

The undo debugging ipv6 tunnel packet command disable the debugging of ingress and egress 6over4 tunnels, and displays debugging information.

By default, the debugging of ingress and egress 6over4 tunnels is disabled.

Format

debugging ipv6 tunnel { packet [ interface { interface-name | interface-type interface-num } ] [ verbose [ verbose-length ] ] } [ number print-value ]

undo debugging ipv6 tunnel { packet }

Parameters

Parameter Description Value
interface interface-type

Specifies the interface type.

-

interface interface-name

Specifies the interface name.

-

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

number print-value

Specifies the number of the packet information.

The value is an integer that ranges from 1 to 4294967295 .

The default value is 10.

Views

User view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
tunnel6 debug

Usage Guidelines

Usage Scenario

The debugging ipv6 tunnel packet command displays the information about ingress and egress 6over4 tunnels for locating system exceptions.

Example

# Enable the debugging of ingress and egress 6over4 tunnels, and displays debugging information.
<HUAWEI> debugging ipv6 tunnel packet interface Tunnel 10
<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:57.378 HUAWEI %%01TNL6/7/packet(d):CID=0x808f271e;On The Interface Tunnel10, Receive a IPV6 Packet, Will Pocess 6OVER4 Encapsulation.
Get packet( SendIfIndex=19,Protocol = MBUF_PROTO_IPV6, Length = 104, Version=6, TrafficClass=0, FlowLabel=0, PayloadLength=64, HopLimit=64, Src =2001:db8::1, Dst =2001:db8::2.)
Mar 30 2012 08:37:57.378 HUAWEI %%01TNL6/7/packet(d):CID=0x808f271e;On The Interface Tunnel10, Encapsulation Tunnel exists with src(1.1.1.1)/dest(1.1.1.2).
Mar 30 2012 08:37:57.378 HUAWEI %%01TNL6/7/packet(d):CID=0x808f271e;On The Interface Tunnel10, SOCK will Process IPv6/IP encapsulated 1.1.1.1->1.1.1.2(len = 104).
    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 tunnel command output
Item Description
Length

Packet length.

Src

Source address.

Dst

Destination address.

CID

CID of the component that outputs the current information.

SendIfIndex

Index of send packets.

Protocol

Protocol.

Version

Version number.

TrafficClass

Traffic class.

FlowLabel

Flow label.

PayloadLength

Payload length.

HopLimit

Hop limit.

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