116
View
Any view
Default level
1: Monitor level
Parameters
slot slot-number: Displays statistics of IP packets on the specified device. If the device is in an IRF, the slot-
number argument represents the member ID of the device; if the device is not in any IRF, the slot-number
argument represents the device ID. If the switch does not support IRF, the slot-number argument must be 1.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see the Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use the display ip statistics command to display statistics of IP packets.
Related commands: display ip interface and reset ip statistics.
Examples
# Display statistics of IP packets.
<Sysname> display ip statistics
Input: sum 7120 local 112
bad protocol 0 bad format 0
bad checksum 0 bad options 0
Output: forwarding 0 local 27
dropped 0 no route 2
compress fails 0
Fragment:input 0 output 0
dropped 0
fragmented 0 couldn't fragment 0
Reassembling:sum 0 timeouts 0
Table 28 Output description
Total number of packets received
Total number of packets with destination being local
Total number of unknown protocol packets
Total number of packets with incorrect format
Total number of packets with incorrect checksum
Total number of packets with incorrect option
Total number of packets forwarded