F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Command Reference-6PW100

Table Of Contents
694
Field Descri
p
tion
valid lifetime Valid lifetime in seconds. For a static IPv6 prefix, this field is not displayed.
display ipv6 socket
Use display ipv6 socket to display socket information.
Syntax
display ipv6 socket [ socktype socket-type ] [ task-id socket-id ] [ | { begin | exclude | include }
regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
socktype socket-type: Displays the socket information about this type. The socket type is in the range of
1 to 3. The value 1 represents a TCP socket, 2 a UDP socket, and 3 a raw socket.
task-id: Displays the socket information about the task. The value ranges from 1 to 150.
socket-id: Displays the information about the socket. The socket ID is in the range of 0 to 3072.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Getting Started Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Usage guidelines
If you do not specify any parameter, this command displays information about all sockets.
If you specify only the socket type, the command displays information about sockets of the specified type.
If you specify the socket type, task ID, and socket ID, the command displays information about the
specified socket.
Examples
# Display information about 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,