display tcp ipv6 status [ local-ip ipv6-address ] [ local-port local-port-number ] [ remote-ip ipv6-address ] [ remote-port remote-port-number ]
display tcp ipv6 status [ task-id task-id [ sock-id sock-id ] ]
| Parameter | Description | Value |
|---|---|---|
local-ip ipv6-address |
Specifies the IPv6 address of the local device. The IPv6 TCP connection status of the specified IPv6 address is displayed. |
The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
remote-ip ipv6-address |
Specifies the IPv6 address of the remote device. The IPv6 TCP connection status of the specified IPv6 address is displayed. |
The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
local-port local-port-number |
Specifies the port number of the local device. The IPv6 TCP connection status of the specified port number is displayed. |
It ranges from 0 to 65535. |
remote-port remote-port-number |
Specifies the port number of the remote device. The IPv6 TCP connection status of the specified port number is displayed. |
It ranges from 0 to 65535. |
task-id task-id |
Specifies the task ID. The status of the IPv6 TCP connection with the specified task ID is displayed. |
The value is an integer ranging from 1 to 200. |
sock-id sock-id |
Specifies the socket ID. The status of the IPv6 TCP connection with the specified socket ID is displayed. |
The value is an integer range from 1 to 131072. |
sock-id sock-id |
Specifies the socket ID. The status of the IPv6 TCP connection with the specified socket ID is displayed. |
It is an integer, ranging from 1 to 131072. |
Usage Scenario
The display tcp ipv6 status command can be used to display all valid IPv6 TCP control blocks, and the following information about each IPv6 TCP control block.
To view the status of all valid IPv6 TCP connections, run the display tcp ipv6 status [ local-ip ipv6-address ] [ local-port local-port-number ] [ remote-ip ipv6-address ] [ remote-port remote-port-number ] command.
To view the status of the IPv6 TCP connection with a specified socket ID, run the display tcp ipv6 status [ task-id task-id [ sock-id sock-id ] ] command.
Precautions
If there is no TCP connection, no information is displayed in the display tcp ipv6 status command output.
# Display the status of IPv6 TCP connections.
<sysname> display tcp ipv6 status
* - MD5 Authentication is enabled.
# - Keychain Authentication is enabled.
TCP6CB TID/SoID Local Address Foreign Address State VPNID
09bfb02c 48/2 ::->23 ::->0 Listening 23553
Item |
Description |
|---|---|
TCP6CB |
Address of an IPv6 TCP control block (in hexadecimal numerals) |
TID/SoID |
Task ID and Socket ID |
Local Address |
IPv6 address and port number of the local end |
Foreign Address |
IPv6 address and port number of the remote end |
State |
Status of an IPv6 TCP connection:
|
VPNID |
VPN interface ID |