display icmp statistics

Syntax

display icmp statistics [ slot slot-number ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

slot slot-number: Displays the ICMP 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 icmp statistics to display ICMP statistics.

Related commands: display ip interface and reset ip statistics.

Examples

# Display ICMP statistics.

<Sysname> display icmp statistics
  Input: bad formats   0                   bad checksum            0
         echo          5                   destination unreachable 0
         source quench 0                   redirects               0
         echo reply    10                  parameter problem       0
         timestamp     0                   information request     0
         mask requests 0                   mask replies            0
         time exceeded 0
  Output:echo          10                  destination unreachable 0
         source quench 0                   redirects               0
         echo reply    5                   parameter problem       0
         timestamp     0                   information reply       0
         mask requests 0                   mask replies            0
         time exceeded 0

Table 24: Command output

Field

Description

bad formats

Number of input wrong format packets

bad checksum

Number of input wrong checksum packets

echo

Number of input/output echo packets

destination unreachable

Number of input/output destination unreachable packets

source quench

Number of input/output source quench packets

redirects

Number of input/output redirection packets

echo reply

Number of input/output replies

parameter problem

Number of input/output parameter problem packets

timestamp

Number of input/output time stamp packets

information request

Number of input request packets

mask requests

Number of input/output mask requests

mask replies

Number of input/output mask replies

information reply

Number of output reply packets

time exceeded

Number of input/output expiration packets