HP Comware 5 Debug Manual Vol 2

Views
User view
Default command level
1: Monitor level
Examples
# Enable ICMP debugging.
<Sysname> terminal debugging
<Sysname> debugging ip icmp
# Pi n g 10 .1.1. 2.
<Sysname> ping c 1 10.1.1.2
Output similar to the following example is generated:
PING 10.1.1.2: 56 data bytes, press CTRL_C to break
*Aug 3 02:38:57:66 2006 Sysname IPDBG/7/debug_icmp:
ICMP Send: echo(Type=8, Code=0), Dst = 10.1.1.2
// ICMP sent an echo request to the destination IP address 10 .1.1. 2.
*Aug 3 02:38:57:69 2006 Sysname IPDBG/7/debug_icmp:
ICMP Receive: echo-reply(Type=0, Code=0), Src = 10.1.1.2, Dst = 10.1.1.1
// ICMP received an echo reply with the source IP address 10 .1.1. 2 and destination IP address 10 .1.1.1.
Reply from 10.1.1.2: bytes=56 Sequence=1 ttl=255 time=4 ms
--- 10.1.1.2 ping statistics ---
1 packet(s) transmitted
1 packet(s) received
0.00% packet loss
round-trip min/avg/max = 4/4/4 ms
debugging ip packet
Use debugging ip packet to enable IP packet debugging.
Use undo debugging ip packet to disable IP packet debugging.
Syntax
debugging ip packet [ acl acl-number ]
undo debugging ip packet
Default
IP packet debugging is disabled.
Views
User view
Default command level
1: Monitor level
Parameters
acl acl-number: Specifies the ACL number in the range 2000 to 3999.
122