SOPHO
IP 5000/SOPHO IP6000
Command Reference Guide
109
For the related command, see
telnet
.
Example
<NEC-PHILIPS>
debugging telnet
display tcp status
Syntax
display tcp status
View
Any view
Parameter
None
Description
Using the
display tcp status
command, you can display all TCP
connections currently established with the router.
This command is used to display all TCP connections currently established with
the router. Compared with display users, the
display tcp status
command can
display more information about Telnet clients and servers.
The information that this command can display includes: the local address of
TCP connection, local port number, external address, external port number, and
connection state.
For the related command, see
telnet
.
Example
<NEC-PHILIPS>
display tcp status
TCPCB Local Address Foreign Address State
129.102.100.142 23 129.102.001.092 ESTABLISHED
028ca414 0.0.0.0.23 0.0.0.0.0 LISTEN
The above shown information indicates: one TCP connection has been set up. the
local IP address of the TCP connection is 129.102.100.142 with the local port number
as 23, and the remote IP address is 129.102.001.92, and there is also a local server
process monitoring the No. 23 port.
telnet Syntax
telnet [ vpn-instance vpn-instance-name ] host-ip-address [ service-port ]
View
User view
Parameter
vpn-instance vpn-instance-name
: Sets the vpn-instance name of MPLS VPN.
host-ip-address
: Hostname or IP address of the remote router, in dotted decimal
format.
service-port
: TCP port number for the remote router to provide Telnet service, in
the range of 0 to 65535.
Description
Using the
telnet
command, you can log on another device from the current
router.
By default, if the service-port is not specified, the Telnet port number is 23.