HP Comware 5 Debug Manual Vol 3
Field
Description
packet: Packet is sent to slot number
A tunnel packet was sent to interface board number
for decapsulation.
Examples
•
On single-core devices:
# Enable IPv4 tunnel error debugging on the local device. Output similar to the following example is
generated when an IPv4 packet with an invalid source IP address (a loopback interface address, for
example) arrives under the following conditions:
•
An IPv4 tunnel is established between two devices.
•
Parameters are configured to bring up the tunnel interfaces.
•
The packet is sent through the tunnel from the local end.
<Sysname> debugging ipv4-tunnel error
*0.253156 Sysname IPV4TUNN/7/debug:
Tunnel1 error: Invalid IPv4 source address. Dropped the packet.
// IPv4 tunneling discarded the packet at interface Tunnel 1 due to an invalid source IP address.
# Enable IPv4 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 IPv4 tunnel is established between two devices.
•
Parameters are configured to bring up the tunnel interfaces.
<Sysname> debugging ipv4-tunnel packet
<Sysname> ping –c 1 5.5.5.2
PING 5.5.5.2: 56 data bytes, press CTRL_C to break
*0.2812406 Sysname IPV4-TUN/8/debug:
Tunnel1 packet:Before encapsulation,
Outer packet header 5.5.5.1->5.5.5.2(length = 84)
// Before encapsulation at interface Tunnel 1, the source and destination IP addresses of the packet
header are 5.5.5.1 and 5.5.5.2, and the packet length is 84.
*0.2812422 Sysname IPV4-TUN/8/debug:
Tunnel1 packet:After encapsulation,
Outer packet header 192.168.19.41->192.168.19.42(length = 104)
// After encapsulation at interface Tunnel 1, the source and destination IP addresses of the packet
header are 192.168 .19. 41 and 19 2.16 8 .19. 4 2, and the packet length is 104.
*0.2812468 Sysname IPV4-TUN/8/debug:
ipv4-tunnel_packet: Decapsulate tunnel packet
Incoming packet header 192.168.19.42->192.168.19.41(length = 104)
// Before decapsulation at interface Tunnel 1, the source and destination IP addresses of the packet
header are 192.16 8 .19. 42 and 192.16 8 .19. 41, and the packet length is 104.
*0.2812468 Sysname IPV4-TUN/8/debug:
Tunnel1 packet:After decapsulation,
Outgoing packet header 5.5.5.2->5.5.5.1(length = 84)
// After decapsulation at interface Tunnel 1, the source and destination IP addresses of the packet
header are 5.5.5.2 and 5.5.5.1, and the packet length is 84.
Reply from 5.5.5.2: bytes=56 Sequence=1 ttl=255 time=78 ms
452