< Home

display ip statistics

Function

The display ip statistics command displays IP statistics, such as IP traffic, IP packets receiving/sending, and packet assembly/disassembly.

Format

display ip statistics

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Statistics about the discarded packets that carry source-route options are collected only on the MPU. Therefore, if slot slot-id is specified in the command to view statistics on an LPU, the number of discarded packets that carry source-route options displayed in the command output is 0.

If the bad protocol and no route field values in the command output increase quickly, the device receives many IP packets of unknown protocol types and IP packets for which no correct route can be found. In this case, check whether the device is attacked by connected downstream devices.

Example

# Display IP traffic statistics.

<sysname> display ip statistics
  Input:     sum                 17713      local                 16552
             bad protocol            0      bad format                0
             bad checksum            0      bad options               0
             TTL exceeded            0
  Output:    forwarding              0      local                 14801
             dropped                 0      no route                242
  Fragment:  input                   0      output                    0
             dropped                 0
             fragmented              0      couldn't fragment         0
  Reassembling:sum                   0      timeouts                  0
Table 1 Description of the display ip statistics command output

Item

Description

Input

Number of received packets

sum

Total number of received packets

local

Number of packets sent to the upper protocol

bad protocol

Number of packets involved in unknown protocols

bad format

Number of packets with mistaken format

bad checksum

Number of packets with mistaken checksum

bad options

Number of packets with mistaken options

TTL exceeded

Number of the packets discarded because of timeout TTL

Output

Number of sent packets

forwarding

Number of forwarded packets

local

Number of generated packets

dropped

Number of discarded packets

no route

Number of packets without a route

Fragment

Number of fragments

input

Number of received fragments

output

Number of created fragments

dropped

Number of discarded fragments

fragmented

Number of successfully fragmented packets

couldn't fragment

Number of packets incapable of fragmentation

Reassembling:sum

Number of successfully reassembled fragments

timeouts

Number of time-out fragments

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >