< Home

display ip statistics

Function

The display ip statistics command displays IP traffic statistics.

Format

display ip statistics

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

IP traffic statistics include statistics about received packets (including discarded packets that carry source-route options), sent packets, fragmented packets, and reassembled packets. If a large number of bad protocol and no route fields is displayed in the command output, the device receives a large volume of IP packets of unknown protocol types and IP packets for which no routes can be found. In this situation, the device may be attacked by the connected devices.

Example

# Display IP traffic statistics.

<HUAWEI> display ip statistics
  Input:     sum                263482      local                263473         
             bad protocol            0      bad format                1         
             bad checksum            0      bad options               0         
             discard srr             0      discard rr                0         
             discard ra              0      discard ts                0         
             TTL exceeded            0                                          
  Output:    forwarding              0      local                303399         
             dropped             56479      no route                225         
  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

Received packets.

sum

Total number of packets.

local

Number of packets sent to the upper-layer protocol.

bad protocol

Number of received IP packets of unknown protocol types. The protocol field in the IP header cannot be identified by the upper-layer protocol.

bad format

Number of packets in incorrect format.

bad checksum

Number of packets with checksum errors.

bad options

Number of packets with incorrect options.

discard srr

Number of discarded packets with source route options.

discard rr

Indicates the number of packets that are received and then discarded because of record-route options.

discard ra

Indicates the number of packets that are received and then discarded because of alert-route options.

discard ts

Indicates the number of packets that are received and then discarded because of time stamps options.

TTL exceeded

Number of packets discarded because the TTL expires.

Output

Sent packets.

forwarding

Number of forwarded packets.

local

Number of generated packets.

dropped

Number of discarded packets.

no route

Number of packets for which no correct route can be found, including the packets sent and forwarded by the local device.

Fragment

Number of packet fragments.

input

Number of received fragments.

output

Number of sent fragments.

dropped

Number of discarded fragments.

fragmented

Number of successfully fragmented packets.

couldn't fragment

Number of packets that cannot be fragmented.

Reassembling:sum

Number of successfully reassembled fragments.

timeouts

Number of expired fragments.

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