Command Manual (For Soliton) – IP Address-IP Performance
H3C S3100 Series Ethernet Switches
Chapter 2 IP Performance Configuration
Commands
2-8
View
Any view
Parameters
socktype sock-type
: Displays the socket information of this type. The sock type is in
the range 1 to 3, corresponding to TCP, UDP and raw IP respectively.
task-id
: ID of a task, with the value ranging from 1 to 100.
socket-id
: ID of a socket, with the value ranging from 0 to 3072.
Description
Use the
display ip socket
command to display socket information.
Examples
# Display the information about the socket of the TCP type.
<Sysname> 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 2-3
Description on the fields of the
display ip socket
command
Field
Description
SOCK_STREAM
Indicates the socket type is TCP
SOCK_DGRAM
Indicates the socket type is UDP
SOCK_RAW Indicates
the
socket type is raw IP
Task Task
ID