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 | Displays the TCP6 connection status of the specified IPv6 address. ipv6-address specifies the IPv6 address of the local device. | The value has 128 bits. It is represented as eight groups of four hexadecimal digits with the groups being separated by colons, in the format of X:X:X:X:X:X:X:X. |
remote-ip ipv6-address | Displays the TCP6 connection status of the specified IPv6 address. ipv6-address specifies the IPv6 address of the remote device. | The value has 128 bits. It is represented as eight groups of four hexadecimal digits with the groups being separated by colons, in the format of X:X:X:X:X:X:X:X. |
local-port local-port-number | Displays the TCP6 connection status of the specified port number. local-port-number specifies the port number of the local device. | The value is an integer that ranges from 0 to 65535. |
remote-port remote-port-number | Displays the TCP6 connection status of the specified port number. remote-port-number specifies the port number of the remote device. | The value is an integer that ranges from 0 to 65535. |
task-id task-id | Displays the status of the TCP6 connection with the specified task ID. task-id specifies the task ID. | The value is an integer that ranges from 1 to 200. |
sock-id sock-id | Displays the TCP6 connection status with the specified socket ID. sock-id specifies the socket ID. | The value is an integer that ranges from 1 to 131072. |
Usage Scenario
You can run the display tcp ipv6 status command to view all valid TCP6 control blocks, including the following information:
To view the status of all valid TCP6 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 TCP6 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.
# Display the status of TCP6 connections.
<HUAWEI> display tcp ipv6 status
* - MD5 Authentication is enabled. TCP6CB TID/SoID Local Address Foreign Address State VPNID 0be58fa8 102/3 ::->22 ::->0 Listening 0 0d109448 102/2 ::->23 ::->0 Listening 0
Item |
Description |
---|---|
TCP6CB |
Address of a TCP6 control block, in hexadecimal notation. |
TID/SoID |
Task ID and socket ID. |
Local Address |
Local IPv6 address and port number. |
Foreign Address |
Remote IPv6 address and port number. |
State |
Status of a TCP6 connection:
|
VPNID |
VPN ID. |