The display udp statistics command displays UDP packet statistics.
The display udp ipv6 statistics command displays IPv6 UDP packet statistics.
Usage Scenario
UDP is a communications protocol used for packet exchanging on the Internet. It uses the simplest transmission model to send messages from one user application to another. To view IPv6 UDP packet statistics, run the display udp ipv6 statistics command. The following information will be displayed:
Precautions
The number of packets received by a device includes the number of packets forwarded to another device, the number of packets sent to the upper layer on the device, and the number of packets discarded by the device.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display udp statistics verbose
Received packets:
--------------------------------------------------------------------------------
Application Format Errors Checksum Errors No Port
--------------------------------------------------------------------------------
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
-------------------------------------------------------------------------------
<HUAWEI> display udp ipv6 statistics
Received packets:
Total: 0
Checksum error: 0
Shorter than header: 0
Data length larger than packets: 0
No socket on port :0
Broadcast: 0
Not delivered, input socket full: 0
Input packets missing pcb cache: 0
Sent packets:
Total: 0
-----------------------------------------------------------------------
<HUAWEI> display udp statistics
------------------------ Display UDP Statistics -----------------------
Received packets:
Total: 0
Checksum error: 0
Shorter than header: 0
Data length larger than packet: 0
No socket on port: 0
Broadcast: 0
Not delivered, input socket full: 0
Input packets missing pcb cache: 0
Sent packets:
Total: 0
-----------------------------------------------------------------------
Item | Description |
---|---|
Received packets | Statistics abbout received packets. |
Application | Application categorization. |
Format Errors | Number of packets with incorrect formats. |
Checksum error | Number of packets with checksum errors. |
Checksum Errors | Number of packets with CRC errors. |
No socket on port | Number of packets whose port numbers are not used by any socket. |
No Port | Number of packets for which no socket can be found. |
LDP | Number of LDP packets. |
DHCP | Number of DHCP packets. |
BFD | Number of BFD packets. |
RIP | Number of RIP packets. |
SNMP | Number of SNMP packets. |
Others | Number of other types of packets. |
Sent packets | Statistics about sent packets. |
Dropped Packets | Number of discarded packets. |
Shorter than header | Number of packets whose length is shorter than the header. |
Data length larger than packets | Number of packets whose data length is greater than the packet length. |
Data length larger than packet | Number of packets whose data length is greater than the packet length. |
Not delivered, input socket full | Number of packets that are not sent out because the socket buffer is full. |
Input packets missing pcb cache | Number of sent packets that are not found in the PCB cache. |
Total | Total number of received/sent UDP packets. |
Broadcast | Number of broadcast/multicast packets. |