3com MSR 20-20 참조 매뉴얼

다운로드
페이지 2742
837
socket-id: Displays the information of the socket. The socket ID is in the range 0 to 
3072.
Description
Use the display ipv6 socket command to display socket information.
Example
# Display the information of all sockets.
<Sysname> display ipv6 socket
SOCK_STREAM:
Task = VTYD(14), socketid = 4, Proto = 6,
LA = ::->22, FA = ::->0,
sndbuf = 8192, rcvbuf = 8192, sb_cc = 0, rb_cc = 0,
socket option = SO_ACCEPTCONN SO_REUSEPORT SO_SENDVPNID,
socket state = SS_PRIV SS_ASYNC
Task = VTYD(14), socketid = 3, Proto = 6,
LA = ::->23, FA = ::->0,
sndbuf = 8192, rcvbuf = 8192, sb_cc = 0, rb_cc = 0,
socket option = SO_ACCEPTCONN SO_REUSEPORT SO_SENDVPNID,
socket state = SS_PRIV SS_ASYNC
SOCK_DGRAM:
SOCK_RAW: 
display ipv6 statistics
Syntax
display ipv6 statistics
View
Any view
Parameter
None
Table 178   Description on fields of the display ipv6 socket command
Field Description 
SOCK_STREAM TCP 
socket 
SOCK_DGRAM UDP 
socket 
SOCK_RAW Raw 
IP 
socket 
Task 
Task ID of the created socket 
socketid 
ID assigned by the kernel to the created socket 
Proto Protocol 
ID 
LA 
Local address and local port number 
FA 
Remote address and remote port number 
sndbuf 
Size of the send buffer 
rcvbuf 
Size of the receive buffer 
sb_cc 
Number of bytes sent by the send buffer 
rb_cc 
Number of bytes received by the receive buffer 
socket option 
Socket option set by the application 
socket state 
State of the socket