The debugging ip icmp command enables the debugging of indicates ICMP packets.
The undo debugging ip icmp command disables the debugging of indicates ICMP packets.
By default, the debugging of ICMP packets is disabled.
Parameter | Description | Value |
---|---|---|
verbose verbose-length |
Displays the length of detailed information about IP packets. If the actual packet length is greater than the specified length, the specified length is displayed. If the actual packet length is smaller than the specified length, the actual packet length is displayed. |
The value is an integer ranging from 1 to 64, in bytes. The default value is 20. |
icmp |
Indicates ICMP packets. |
- |
<HUAWEI> debugging ip packet
2011-08-12 07:16:41 HUAWEI %%01PP4/7/ip_packet(d):CID=6694683;Receiving, ifIndex = 4, vrf = 0, eventId = 0, flag = 0x200, version = 4, headlen = 5, tos = 0, pktlen = 0x4e, pktid = 0xe1b7, offset = 0x0, ttl = 128, protocol = 17, checksum = 0xca, s = 172.16.255.254, d = 172.16.255.255
2011-08-12 07:16:41 HUAWEI %%01PP4/7/ip_packet(d):CID=6694683;Discarding, Reason = Drop packet for ICMP security(1073), ifIndex = 4, vrf = 0, eventId = 0, flag = 0x100200, version = 4, headlen = 5, tos = 0, pktlen = 0x4e00, pktid = 0xe1b7, offset = 0x0, ttl = 128, protocol = 17, checksum = 0xca, s = 172.16.255.254, d = 172.16.255.255
2011-08-12 07:16:42 HUAWEI %%01PP4/7/ip_packet(d):CID=6694683;Receiving, ifIndex = 4, vrf = 0, eventId = 0, flag = 0x200, version = 4, headlen = 5, tos = 0, pktlen = 0x4e, pktid = 0xe1b8, offset = 0x0, ttl = 128, protocol = 17, checksum = 0xc9, s = 172.16.255.254, d = 172.16.255.255
Item | Description |
---|---|
ifIndex | Interface index. |
vrf | VPN ID. |
eventId | Event ID. |
flag | Flag. |
version | Version number. |
headlen | Packet header length. |
tos | Type of Service (ToS). |
pktlen | Packet length. |
pktid | Packet identification. |
offset | Fragment offset value. |
ttl | Time To Live (TTL). |
protocol | Protocol number. |
checksum | Checksum. |
s | Source IP address. |
d | Destination IP address. |
ip_packet(d) | IP packets. |
CID | CID of the current output information. |
Receiving | Received packets. |
Discarding | Discarded packets. |