< Home

display udp statistics

Function

The display udp statistics command displays statistics about UDP packets.

Format

display udp statistics

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run the display udp statistics command to view statistics about UDP packets in the current system. Statistics include the number of received and sent UDP packets, including the number of repeated packets and packets with checksum errors. In addition, statistics include information about the connection, such as the number of broadcast packets. All the preceding statistics information is expressed in packets.

Detailed statistics about UDP packets refer to the statistics about UDP packets on the well-known ports, such as the LDP port (646), DHCP ports (67 and 68), BFD ports (3784, 4784, 3785, and 4785), RIP port (520), SNMP ports (161 and 162). Statistics about other ports are included in the statistics about "Others".

Example

# Display statistics about UDP packets.
<sysname> display udp statistics
Received packets:
    Total: 0
    Total(64bit high-capacity counter): 0
    checksum error: 0
    shorter than header: 0
    data length larger than packet: 0
    unicast(no socket on port): 0
    broadcast/multicast(no socket on port): 0
    not delivered, input socket full: 0
    input packets missing pcb cache: 0	

Sent packets:
    Total: 0
    Total(64bit high-capacity counter): 0
Table 1 Description of the display udp statistics command output

Item

Description

Received packet:

Total:

Total (64-bit high-capacity counter):

Indicates the total number of received UDP packets.

Indicates the total number of received UDP packets, which is counted by a 64-bit high-capacity counter.

checksum error:

Indicates the number of packets with checksum errors.

shorter than header:

Indicates the number of packets whose length is smaller that the header length.

data length larger than packet:

Indicates the number of packets whose data length is larger than the packet length.

unicast (no socket on port):

Indicates the number of unicast packets.

broadcast/multicast (no socket on port):

Indicates the number of broadcast/multicast packets.

not delivered, input socket full:

Indicates the number of packets failed to be sent because the socket buffer is full.

input packets missing pcb cache:

Indicates the number of packets that are discarded because no corresponding PCB exists.

Sent packet:

Total:

Total (64-bit high-capacity counter):

Indicates the total number of sent UDP packets.

Indicates the total number of sent UDP packets, which is counted by a 64-bit high-capacity counter.

# View the statistics about UDP packets.
<sysname> display udp statistics verbose
Received packets:                                                               
--------------------------------------------------------------------------------
Application       Format Errors     Checksum Errors  No Inpcb  
--------------------------------------------------------------------------------
LDP               0                 0                0         
DHCP              0                 0                0         
BFD               0                 0                0         
RIP               0                 0                0         
SNMP              0                 0                0         
Others            0                 0                0         
-------------------------------------------------------------------------------                                                                                 
Sent packets:                                                                   
--------------------------------------------------------------------------------
Application       Dropped Packets                                               
--------------------------------------------------------------------------------
LDP               0                                                             
DHCP              0                                                             
BFD               0                                                             
RIP               0                                                             
SNMP              0                                                             
Others            0                                                             
------------------------------------------------------------------------------- 
Table 2 Description of the display udp statistics verbose command output

Item

Description

Received packets

Indicates the number of received UDP packets.

Format Errors

Indicates incorrect packet length. The payload length is longer than the packet length, or the packet length is shorter than the total length of the UDP header and IP header.

Checksum Errors

Indicates the number of packets with checksum errors.

No Inpcb

Indicates the number of packets whose socket cannot be found.

LDP

Indicates LDP packets.

DHCP

Indicates DHCP packets.

BFD

Indicates BFD packets.

RIP

Indicates RIP packets.

SNMP

Indicates SNMP packets.

Others

Indicates packets of other protocol types.

Sent packets

Indicates the number of sent UDP packets.

Dropped Packets

Indicates the number of discarded packets.

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