2-13
Description
Use the display tcp status command to display the state of all the TCP connections so that you can
monitor TCP connections in real time.
Examples
# Display the state of all the TCP connections.
<Sysname> display tcp status
*: TCP MD5 Connection
TCPCB Local Add:port Foreign Add:port State
03e37dc4 0.0.0.0:4001 0.0.0.0:0 Listening
04217174 100.0.0.204:23 100.0.0.253:65508 Established
Table 2-6 Description on the fields of the display tcp status command
Field Description
*
If there is an asterisk before a connection, it means that the
TCP connection is authenticated through the MD5 algorithm.
TCPCB TCP control block
Local Add:port Local IP address and port number
Foreign Add:port Remote IP address and port number
State State of the TCP connection
display udp statistics
Syntax
display udp statistics
View
Any view
Parameters
None
Description
Use the display udp statistics command to display the statistics about UDP packets.
Related commands: reset udp statistics.
Examples
# Display the statistics about UDP packets.
<Sysname> display udp statistics
Received packets:
Total: 26320
checksum error: 0
shorter than header: 0, data length larger than packet: 0
no socket on port: 0