Command Reference TCP Commands
Platform
Description
This command is supported by RGOS 10.3 and later versions.
show tcp connect
Use this command to display basic information about the current TCP connections.
show tcp connect
Parameter
Description
Parameter Description
N/A N/A
Defaults
N/A
Command
Mode
Privileged user mode
Usage Guide
N/A
Configuration
Examples
Ruijie#sh tcp connect
tcp connect status:
TCB Local Address Foreign Address State
cf25000 0.0.0.0.2650 0.0.0.0.0 LISTEN
c441000 0.0.0.0.23 0.0.0.0.0 LISTEN
c441800 1.1.1.1.23 1.1.1.2.64201 ESTABLISHED
c444cc0 ::.23 ::.0 LISTEN
c429980 3000::1.23 3000::2.64236 ESTABLISHED
Field Description
TCB The control block’s location in the current memory
Local Address Th Local address and port number. The number after the last
“.” is the port number. For example, in “2002::2.23” and
“192.168.195.212.23” , “23” is the port number.
Foreign Address The remote address and port number. The number after the
last “.” is the port number. For example, in “2002::2.23” and
“192.168.195.212.23” , “23” is the port number.
State Current status of the TCP connection. There are eleven
possible states:
CLOSED: The connection has been closed.
LISTEN: Listening state
SYNSENT: In the three-way handshake phase when the SYN
packet has been sent out.
SYNRCVD: In the three-way handshake phase when the SYN
packet has been received.