display udp statistics

Syntax

display udp statistics [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display udp statistics to display statistics of UDP packets.

Related commands: reset udp statistics.

Examples

# Display statistics of UDP packets.

<Sysname> display udp statistics
Received packets:
     Total: 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

Table 28: Command output

Field

Description

Received packets:

Total

Total number of UDP packets received

checksum error

Total number of packets with incorrect checksum

shorter than header

Number of packets with data shorter than head

data length larger than packet

Number of packets with data longer than packet

unicast(no socket on port)

Number of unicast packets with no socket on port

broadcast/multicast(no socket on port)

Number of broadcast/multicast packets without socket on port

not delivered, input socket full

Number of packets not delivered to an upper layer due to a full socket cache

input packets missing pcb cache

Number of packets without matching protocol control block (PCB) cache

Sent packets:

Total

Total number of UDP packets sent