How to Understand the display tcp status Command Output?

Created: Apr 14, 2017 08:47:08Latest reply: Apr 14, 2017 15:33:31 890 1 0 0
How to Understand the display tcp status Command Output?
  • x
  • convention:

Adamcolob  Visitor   Created Apr 14, 2017 15:33:31 Helpful(0) Helpful(0)

The display tcp status command is used only for locating TCP-related problems, especially BGP, LDP, FTP, and Telnet disconnections. You can run the display tcp status command to view the current TCP status when TCP functions as the transmission protocol.

Before viewing the TCP status, you need to know the roles of both ends of the TCP connection, that is, which end is the client and which end is the server. Generally, the server adopts a well-known port number. For example:
BGP port number: 179
LDP port number: 646
FTP port number: 20 or 21
Telnet port number: 23
<HUAWEI> display tcp status--------------------------------------------------------------------------------
Pid/SocketID Local Addr:Port Foreign Addr:Port VPNID State
--------------------------------------------------------------------------------
0x80C8272D/2 0.0.0.0:23 0.0.0.0:0 4294967295 LISTEN
0x80932727/6 0.0.0.0:22 0.0.0.0:0 4294967295 LISTEN
--------------------------------------------------------------------------------
The preceding information shows that there are two TCP connections, of which one are Telnet connections which 0.0.0.0:23 functions as the Telnet server, and one is FTP connection.
  • x
  • convention:

Reply

Reply
You need to log in to reply to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Fast reply Scroll to top