< Home

display rawip statistics

Function

The display rawip statistics command displays the statistics about RawIP packets.

Format

display rawip statistics [ verbose ]

Parameters

Parameter Description Value
verbose Displays the statistics about RawIP packets based on protocol types, such as ICMP, OSPF, RSVP, and Others. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run the
display rawip statistics command to view the following statistics about RawIP packets:
  • Number of received and sent RawIP packets
  • Number of discarded RawIP packets
The statistics about RawIP packets are collected based on the IDs of well-known protocols. The protocol ID is the value of the protocol field in the IP header.
  • The protocol ID of ICMP is 1.
  • The protocol ID of OSPF is 89.
  • The protocol ID of RSVP is 46.
  • The statistics about RawIP packets of other protocol IDs are saved to the Others field.

Example

# View the statistics about RawIP packets.
<sysname> 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 due to socket buffer is full

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

dropped packets due to no matching socket

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.

# View the statistics about RawIP packets.
<sysname> display rawip statistics verbose
Received packets:
------------------------------------------------------------------
Application    Overflow         No Matching
------------------------------------------------------------------
ICMP           0                0
OSPF           0                0
RSVP           0                0
Others         0                0
------------------------------------------------------------------

Sent packets:
------------------------------------------------------------------
Application    Dropped Packets
------------------------------------------------------------------
ICMP           0
OSPF           0
RSVP           0
Others         0
------------------------------------------------------------------
Table 2 Description of the display rawip statistics command output

Item

Description

Received packets

Indicates the number of received packets.

Application

Indicates the application type.

Overflow

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

No Matching

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

ICMP

Indicates ICMP packets.

OSPF

Indicates OSPF packets.

RSVP

Indicates RSVP packets.

Others

Indicates packets of other protocol types.

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 >