Terminal Service Commands
135
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
<3Com> 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.
By executing the telnet command, the user can conveniently log on another device
from a router to achieve remote management.
For the related command, see display tcp status.
Example
Log on another router 3Com2 (the IP address is 129.102.0.1) from the current
router 3Com1.
<3Com>telnet 129.102.0.1
Trying 129.102.0.1...
Service port is 23
Содержание Router 3031
Страница 6: ......
Страница 396: ...396 CHAPTER 4 LINK LAYER PROTOCOL Example Set the parameter of X 29 to 10 seconds 3Com x29 timer inviteclear time 10...
Страница 686: ...686 CHAPTER 6 ROUTING PROTOCOL...
Страница 758: ...758 CHAPTER 7 MULTICAST COMMON CONFIGURATION COMMANDS...