< Home

display rawip statistics

Function

The display rawip statistics command displays RawIP traffic statistics.

Format

display rawip statistics [ verbose ]

Parameters

Parameter Description Value
verbose Displays detailed RawIP traffic statistics based on the ICMP, RSVP, OSPF, and Others protocols. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

The statistics about RawIP packets include the number of sent RawIP packets and the number of received RawIP packets.

RSVP, OSPF, and ICMP packets are encapsulated into RawIP packets to be sent. During the ping operation, for example, you can run the display rawip statistics command to view the number of RawIP packets sent by the local device to check whether the abnormality on the network is caused by abnormal sending and receiving of RawIP packets.

If you want to diagnose problems and monitor information of specific applications, configure verbose in the display rawip statistics command to display application-specific RawIP packet statistics. The applications can be ICMP, RSVP, OSPF, and others.

Precautions

The number of packets received by a switch includes the number of forwarded packets, packets sent to the upper layer, and discarded packets.

RawIP traffic statistics are collected based on the well-known protocol number. The protocol number is identified by the protocol field in the IP packet header.
  • The protocol number of ICMP statistics is 1.
  • The protocol number of OSPF statistics is 89.
  • The protocol number of RSVP statistics is 46.
  • Statistics about packets with other protocol numbers are collected into the Others field.

Example

# View the statistics about RawIP packets.
<HUAWEI> display rawip statistics
Received packets:
  dropped packets because the socket buffer is full   : 0
  dropped packets because no matching socket is found : 0

Sent packets:
  dropped packets : 0  
Table 1 Description of the display rawip statistics command output

Item

Description

Received packets

Indicates the number of received packets.

dropped packets because the socket buffer is full

Indicates the number of RawIP packets that are discarded because the socket buffer is full.

dropped packets because no matching socket is found

Indicates the number of RawIP packets that are discarded because the socket of the receiver does not match with that of the sender.

Sent packets

Indicates the number of sent packets.

dropped packets

Indicates the number of discarded packets.

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