| Parameter | Description | Value |
|---|---|---|
| interface interface-type interface-number | Indicates the ICMPv6 traffic statistics on the specified interface. | - |
Usage Scenario
The display icmpv6 statistics command can be used to display the statistics on sent and received ICMPv6 error packets and the statistics on four types of ICMPv6 packets (RS, RA, NS, and NA) used in the neighbor discovery mechanism. These statistics help users locate faults.
When performing the ping IPv6 operation, you can run the display icmpv6 statistics command on a device to check whether the total numbers of sent and received packets are correct.
Precautions
The total number of packets received by a routing device includes the number of packets forwarded by the device, the number of packets sent to the CPU of the device, and the number of packets discarded by the device.
# Display the statistics of the ICMPv6 packet processed by the device.
[sysname] display icmpv6 statistics
ICMPv6 protocol:
Sent packets:
Total : 3630
Unreached : 3630 Prohibited : 0
Hop count exceeded : 0 Parameter problem : 0
Too big : 0 Echoed : 0
Echo replied : 0 Router solicit : 0
Router advert : 0 Neighbor solicit : 0
Neighbor advert : 0 Redirected : 0
Rate limited : 0
Received packets:
Total : 3630 Format error : 0
Checksum error : 0 Too short : 0
Bad code : 0 Bad length : 0
Unknown info type : 0 Unknown error type : 0
Unreached : 3630 Prohibited : 0
Hop count exceeded : 0 Parameter problem : 0
Too big : 0 Echoed : 0
Echo replied : 0 Router solicit : 0
Router advert : 0 Neighbor solicit : 0
Neighbor advert : 0 Redirected : 0
Rate limited : 0
Item |
Description |
|---|---|
ICMPv6 protocol |
Statistics about ICMPv6 messages |
Sent packets |
Statistics about the sent ICMPv6 messages |
Total |
Total count of the sent ICMPv6 messages |
Unreached |
Total count of ICMPv6 Destination Unreachable messages |
Prohibited |
Total count of the sent ICMPv6 messages to notify that the destination is administratively prohibited |
Hop count exceeded |
Total count of the sent ICMPv6 messages to notify that the hop limit is crossed |
Parameter problem |
Total count of the sent ICMPv6 Parameter Problem messages |
Too big |
Total count of the sent ICMPv6 Packet Too Big messages |
Echoed |
Total count of the sent ICMPv6 Echo-Request messages |
Echo replied |
Total count of the sent ICMPv6 Echo-Reply messages |
Router solicit |
Total count of the sent Router Solicitation (RS) messages |
Router advert |
Total count of the sent Route Advertisement (RA) messages |
Neighbor solicit |
Total count of the sent Neighbor Solicitation (NS) messages |
Neighbor advert |
Total count of the sent Neighbor Advertisement (NA) messages |
Redirected |
Total count of the sent ICMPv6 Redirection messages |
Rate limited |
Total count of the ICMPv6 packets that fail to be sent because of rate limit |
Received packets |
Statistics about the received ICMPv6 messages |
Total |
Total count of the received ICMPv6 messages |
Format error |
Total count of the received ICMPv6 messages notifying format errors |
Checksum error |
Total count of the received ICMPv6 messages notifying checksum errors |
Too short |
Total count of the received ICMPv6 messages notifying that the packet length is too short |
Bad code |
Total count of the received ICMPv6 messages notifying code errors |
Bad length |
Total count of the received ICMPv6 messages notifying packet length errors |
Unknown info type |
Total count of the received ICMPv6 messages notifying that the packet is with an unrecognized information type |
Unknown error type |
Total count of the received ICMPv6 messages notifying that the packet is with an unrecognized error type |
Unreached |
Total count of the received ICMPv6 Destination Unreachable messages |
Prohibited |
Total count of ICMPv6 messages notifying that the destination is administratively prohibited |
Hop count exceeded |
Total count of the received ICMPv6 messages notifying that the hop limit is crossed |
Parameter problem |
Total count of the received ICMPv6 Parameter Problem messages |
Too big |
Total count of the received ICMPv6 Packet Too Big messages |
Echoed |
Total count of the received ICMPv6 Echo-Request messages |
Echo replied |
Total count of the received ICMPv6 Echo-Reply messages |
Router solicit |
Total count of the received RS messages |
Router advert |
Total count of the received RA messages |
Neighbor solicit |
Total count of the received NS messages |
Neighbor advert |
Total count of the received NA messages |
Redirected |
Total count of the received ICMPv6 Redirection messages |
Rate limited |
Total count of the ICMPv6 packets that fail to be received because of rate limit |