Display Ipv6 Socket - H3C S3100 Series Command Manual

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

display ipv6 socket

Syntax
display ipv6 socket [ socktype socket-type ] [ task-id socket-id ]
View
Any view
Parameters
socket-type: Type of a socket, in the range of 1 to 3. The value "1" represents a TCP socket, "2" a UDP
socket, and "3" a raw IP socket.
task-id: ID of a task, in the range of 1 to 100.
socket-id: ID of a socket, in the range of 0 to 3072.
Description
Use the display ipv6 socket command to display information related to a specified socket.
With no argument specified, this command displays the information about all the sockets; with only the
socket type specified, the command displays the information about sockets of the specified type; with
the socket type, task ID and socket ID specified, the command displays the information about the
specified socket.
Examples
# Display information related to a specified socket.
<Sysname> display ipv6 socket
SOCK_STREAM:
Task = VTYD(43), socketid = 1, Proto = 6,
LA = ::->23, FA = ::->0,
sndbuf = 8192, rcvbuf = 8192, sb_cc = 0, rb_cc = 0,
socket option = SO_ACCEPTCONN SO_REUSEADDR SO_KEEPALIVE SO_REUSEPORT SO_SETKEEPALIVE,
socket state = SS_PRIV SS_ASYNC
SOCK_DGRAM:
SOCK_RAW:
Table 1-12 Description on the fields of the display ipv6 socket command
SOCK_STREAM
Task
socketid
Proto
LA
FA
sndbuf
rcvbuf
sb_cc
rb_cc
socket option
Field
Socket type, which can be:
Task name and ID of the created socket
ID assigned by the kernel to the created socket
Protocol ID
Local address and local port number
Remote address and remote port number
Size of the sending buffer
Size of the receiving buffer
Number of bytes sent by the sending buffer
Number of bytes received by the receiving buffer
Socket option set by the application
Description
SOCK_STREAM: Refers to TCP.
SOCK_DGRAM: Refers to UDP.
SOCK_RAW: Refers to raw IP.
1-16

Advertisement

Table of Contents
loading

Table of Contents