Command Manual - Network Protocol 
Quidway S6500 Series Ethernet Switches 
Chapter 6  IP Performance Configuration 
Commands
 
Huawei Technologies Proprietary 
6-4 
Description 
Using the display ip socket command, you can display the information about the 
sockets in the current system. 
Example 
# Display the information about the socket of TCP type. 
<Quidway> display ip socket socktype 1 
SOCK_STREAM: 
Task = VTYD(18), socketid = 1, Proto = 6, 
LA = 0.0.0.0:23, FA = 0.0.0.0:0, 
sndbuf = 8192, rcvbuf = 8192, sb_cc = 0, rb_cc = 0, 
socket option = SO_ACCEPTCONN SO_KEEPALIVE SO_SENDVPNID SO_SETKEEPALIVE, 
socket state = SS_PRIV SS_ASYNC 
 
Task = VTYD(18), socketid = 2, Proto = 6, 
LA = 10.153.17.99:23, FA = 10.153.17.56:1161, 
sndbuf = 8192, rcvbuf = 8192, sb_cc = 0, rb_cc = 0, 
socket option = SO_KEEPALIVE SO_OOBINLINE SO_SENDVPNID SO_SETKEEPALIVE, 
socket state = SS_ISCONNECTED SS_PRIV SS_ASYNC 
 
Task = VTYD(18), socketid = 3, Proto = 6, 
LA = 10.153.17.99:23, FA = 10.153.17.82:1121, 
sndbuf = 8192, rcvbuf = 8192, sb_cc = 0, rb_cc = 0, 
socket option = SO_KEEPALIVE SO_OOBINLINE SO_SENDVPNID SO_SETKEEPALIVE, 
socket state = SS_ISCONNECTED SS_PRIV SS_ASYNC 
Table 6-3 Output description of the display ip socket display 
Field  Description 
SOCK_STREAM  The socket type 
Task  The ID of a task 
socketid  The ID of a socket 
Proto  The protocol number used by the socket 
sndbuf  The sending buffer size of the socket 
rcvbuf  The receiving buffer size of the socket 
sb_cc 
The current data size in the sending buffer. The value 
makes sense only for the socket of TCP type, because only 
TCP is able to cache data 
rb_cc  The current data size in the receiving buffer 
socket option  The option of the socket