display ip statistics
Syntax
display ip statistics [ slot slot-number ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
slot slot-number: Displays the IP packet statistics on a specific IRF member switch. The slot-number argument specifies the ID of an IRF member switch. The value range for the argument depends on the number of member switches and their member IDs in the IRF fabric, which you can display with the display irf command. On a standalone device, the slot-number argument specifies the ID of the device.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see 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 display ip statistics 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 26: Command output
Field | Description | |
---|---|---|
Input: | sum | Total number of packets received |
local | Total number of packets with destination being local | |
bad protocol | Total number of unknown protocol packets | |
bad format | Total number of packets with incorrect format | |
bad checksum | Total number of packets with incorrect checksum | |
bad options | Total number of packets with incorrect option | |
Output: | forwarding | Total number of packets forwarded |
local | Total number of packets sent from the local | |
dropped | Total number of packets discarded | |
no route | Total number of packets for which no route is available | |
compress fails | Total number of packets failed to be compressed | |
Fragment: | input | Total number of fragments received |
output | Total number of fragments sent | |
dropped | Total number of fragments dropped | |
fragmented | Total number of packets successfully fragmented | |
couldn't fragment | Total number of packets that failed to be fragmented | |
Reassembling | sum | Total number of packets reassembled |
timeouts | Total number of reassembly timeout fragments |