HP Comware 5 Debug Manual Vol 3

Table 235 Output from the debugging ipv6-tunnel error command (on multi-core devices)
Field
Description
Failed to add IPv4 header
IPv6 tunnel failed to add the IPv4 header to the IPv6
tunnel packet.
Failed to add IPv6 header
IPv6 tunnel failed to add the IPv6 header to the IPv6
tunnel packet.
Failed to send packet to FC module IPv6 tunnel failed to classify the flow.
Examples
On single-core devices:
# Establish an IPv6 6to4 tunnel between two devices and configure parameters to bring up the tunnel
interfaces. (Details not shown.)
# Configure a static IPv6 route with interface Tunnel 2 as the outgoing interface.
<Sysname> system-view
[Sysname] ipv6 route-static 111::1 16 Tunnel 2
# Enable IPv6 tunnel error debugging on the local device. The output in this example was created when
IPv6 tunneling sent an IPv6 packet to destination 111: : / 16 through the 6to4 tunnel:
<Sysname> debugging ipv6-tunnel error
*0.2245453 Sysname IPV6TUNN/7/debug:
Tunnel1 error: Adding IPv4 header failed.
// No destination IPv4 address can be obtained from the IPv6 packet. IPv6 tunneling failed to add an
IPv4 header to the packet.
# Enable IPv6 tunnel packet debugging on the local device. Output similar to the following example is
generated when you execute the ping command under the following conditions:
An IPv6 tunnel is established between two devices.
Parameters are configured to bring up the tunnel interfaces.
<Sysname> debugging ipv6-tunnel packet
<Sysname> ping ipv6 –c 1 2005::2
PING 2005::2 : 56 data bytes, press CTRL_C to break
*0.3760250 Sysname IPV6-TUN/8/debug:
Tunnel2 packet: Before encapsulation,
Incoming packet header 2005::0001->2005::0002(length = 104)
// Before encapsulation at the tunnel interface Tunnel 2, the source and destination IP addresses in the
packet header are 2005::0001 and 2005::0002, and the packet length is 104.
*0.3760265 Sysname IPV6-TUN/8/debug:
Tunnel2 packet: After encapsulation,
Outgoing packet header 2003::0001->2003::0002(length = 144)
// After encapsulation at the tunnel interface Tunnel 2, the source and destination IP addresses in the
packet header are 2003::0001 and 2003::0002, and the packet length is 144.
*0.3760297 Sysname IPV6-TUN/8/debug:
ipv6-tunnel_event:transproto is ipv6.
*0.3760297 Sysname IPV6-TUN/8/debug:
ipv6-tunnel_packet: Decapsulate tunnel packet
Incoming packet header 2003::0002->2003::0001(length = 144)
455