Parameter | Description | Value |
---|---|---|
local-ip local-ip |
splays the IPv6 TCP onnection with a specified local IP address. |
The address is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
local-port local-port |
Displays the IPv6 TCP connection with a specified local port number. |
The value ranges from 0 to 65535. |
remote-ip remote-ip |
Displays the IPv6 TCP connection with a specified remote IP address. |
The address is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
remote-port remote-port |
Displays the IPv6 TCP connection with a specified remote port number. |
The value ranges from 0 to 65535. |
cid cid |
Displays the IPv6 TCP connection with a specified APP CID. |
The value is a hexadecimal integer that ranges from 0 to ffffffff. |
socket-id socket-id |
Displays the IPv6 TCP connection with a specified socket ID. |
The value is an integer that ranges from 0 to 2147418111. |
Usage Scenario
TCP defined in standard protocols ensures high-reliability transmission between hosts. TCP provides reliable, connection-oriented, and full-duplex services for user processes. To monitor the TCP connection status, run the display tcp status command to check the following information:
Precautions
If no TCP connection is available, the command output is empty.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display tcp ipv6 status
* - MD5 Authentication is enabled.
# - Keychain Authentication is enabled.
-------------------------------------------------------------------------------------------------------
Cid/SocketID Local Address Foreign Address VPNID State
-------------------------------------------------------------------------------------------------------
0x8093041E/3 ::->830 ::->0 4294967295 LISTEN
0x8093041E/5 ::->22 ::->0 4294967295 LISTEN
-------------------------------------------------------------------------------------------------------
Item | Description |
---|---|
Cid/SocketID | Socket ID. |
Local Address | Local IPv6 address. |
Foreign Address | Peer IPv6 address. |
VPNID | VPN instance ID. |
State | Status of an IPv6 TCP connection:
|