10-7
Table 10-3 display ip socket command output description
Field Description
SOCK_STREAM TCP socket
SOCK_DGRAM UDP socket
SOCK_RAW Raw IP socket
Task Task number
socketid Socket ID
Proto Protocol number of the socket, indicating the protocol type that IP carries
LA Local address and local port number
FA Remote address and remote port number
sndbuf Sending buffer size of the socket, in bytes
rcvbuf Receiving buffer size of the socket, in bytes
sb_cc
Current data size in the sending buffer (It is available only for TCP that can buffer
data)
rb_cc Data size currently in the receiving buffer
socket option Socket option
socket state Socket state
display ip statistics
Syntax
display ip statistics
View
Any view
Default Level
1: Monitor level
Parameters
None
Description
Use the display ip statistics command to display statistics of IP packets.
Related commands: display ip interface (IP Addressing in the Layer 3 – IP Services Command
Reference), reset ip statistics (IP Performance Optimization in the Layer 3 – IP Services Command
Reference).
Examples
# Display statistics of IP packets.
<Sysname> display ip statistics
Input: sum 7120 local 112
bad protocol 0 bad format 0
bad checksum 0 bad options 0