3com 8807 Reference Guide

Page of 1099
110
C
HAPTER
 8: IP P
ERFORMANCE
 C
ONFIGURATION
 C
OMMANDS
display ip socket
Syntax
display ip socket [ socktype sock-type ] [ task-id socket-id ]
View
Any view
Parameter
sock-type: The type of a socket (tcp:1, udp: 2, raw ip: 3).
task-id: The ID of a task, with the value ranging from 1 to 100.
socket-id: The ID of a socket, with the value ranging from 0 to 3072.
Description
Use the display ip socket command to display the information about the sockets 
in the current system.
Example
# Display the information about the socket of TCP type.
<SW8800> 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 
mask requests 
Number of input/output mask request packets 
mask replies 
Number of input/output mask reply packets 
information reply 
Number of output information reply packets 
time exceeded 
Number of packets that exceeds the time
Table 13   Description on the fields of the display icmp statistics command
Field Description 
Table 14   Description on the fields of the display ip socket command
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