No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Fit AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
display tcp ipv6 status

display tcp ipv6 status

Function

The display tcp ipv6 status command displays the status of all IPv6 TCP connections.

Format

display tcp ipv6 status [ local-ip ipv6-address ] [ local-port local-port ] [ remote-ip ipv6-address ] [ remote-port remote-port ]

display tcp ipv6 status [ task-id task-id [ sock-id sock-id ] ]

Parameters

Parameter Description Value
local-ip ipv6-address Displays the IPv6 TCP connection status of the specified IPv6 address. ipv6-address specifies the IPv6 address of the local device. The value is a 32-digit hexadecimal number, in the format X:X:X:X:X:X:X:X.
local-port local-port Displays the IPv6 TCP connection status of the specified port number. local-port specifies the port number of the local device. The value is an integer that ranges from 0 to 65535.
remote-ip ipv6-address Displays the IPv6 TCP connection status of the specified IPv6 address. ipv6-address specifies the IPv6 address of the remote device. The value is a 32-digit hexadecimal number, in the format X:X:X:X:X:X:X:X.
remote-port remote-port Displays the IPv6 TCP connection status of the specified port number. remote-port 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 IPv6 TCP 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 status of the IPv6 TCP connection with the specified socket ID. The value is an integer that ranges from 1 to 131072.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

You can run the display tcp ipv6 status command to view all valid IPv6 TCP control blocks, including the following information:

  • IPv6 TCP socket ID
  • APP CID
  • Local IPv6 address and port number
  • Remote IPv6 address and port number
  • IPv6 TCP connection status
  • VPN ID

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.

Example

# Display the status of IPv6 TCP connections.

<Huawei> display tcp ipv6 status
* - MD5 Authentication is enabled.                                              
# - Keychain Authentication is enabled.                                         
TCP6CB   TID/SoID  Local Address        Foreign Address      State        VPNID 
19490ba4 9/2       ::->23               ::->0                Listening    23553 
Table 6-60  Description of the display tcp ipv6 status command output

Item

Description

TCP6CB

Address of an IPv6 TCP 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 an IPv6 TCP connection:
  • Closed: indicates that the TCP connection is closed.

  • Listening: indicates that the TCP connection is being listened on.

  • Syn_Rcvd: indicates that a TCP packet with the SYN flag is received.

  • Syn_Sent: indicates that a TCP packet with the SYN flag is sent.

  • Established: indicates that the TCP connection has been set up.

  • Close_Wait: indicates that a user host sends a packet with the FIN flag to the server, requesting the server to close the TCP connection in Established state. The server then sends an ACK packet to the user host after receiving the packet and enters the Close_Wait state.

  • Fin_Wait1: indicates that a user host sends a packet with the FIN flag to the server, requesting the server to close the TCP connection and enters the Fin_Wait1 state.

  • Fin_Wait2: indicates that a user host receives an ACK packet in a response to the sent packet with the FIN flag and enters the Fin_Wait2 state.

  • Time_Wait: indicates that TCP enters this state after the TCP connection is closed. When TCP has been in Time_Wait state two times the longest packet lifetime, records about the closed connection are deleted.

  • Closing: indicates that the two ends close the TCP connection simultaneously.

  • LAST_ACK: indicates that the local end waits for acknowledging the TCP connection teardown request sent to the remote end.

VPNID

VPN interface ID.

Translation
Download
Updated: 2019-07-18

Document ID: EDOC1100064353

Views: 129833

Downloads: 103

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next