Cisco Cisco Packet Data Interworking Function (PDIF)
Exec Mode Commands (T-Z)
telnet ▀
Command Line Interface Reference, StarOS Release 18 ▄
4251
telnet
Connects to a remote host using the terminal-remote host protocol and a hostname or IPv4 address and port number.
Product
All
Privilege
Security Administrator, Administrator, Operator
Mode
Exec
The following prompt is displayed in the Exec mode:
[local]host_name#
Syntax
telnet { host_name | host_ipv4_address } [ port port_num ]
host_name | host_ipv4_address
Identifies the remote node with which to attempt connection.
host_name
: specifies the remote node using its logical host name which must be resolved via DNS lookup.
host_ipv4_address
: specifies the remote node using its assigned IP address entered using the IPv4 dotted-
decimal notation.
port
port_num
Specifies a specific port for connect connection as an integer from 1025 through 10000.
Usage
Telnet to a remote node for maintenance activities and/or troubleshooting when unable to do so directly.
Important:
telnet
is not a secure method of connecting between two hosts.
ssh
should be used whenever
possible for security reasons.
Example
The following connects to remote host
remoteABC
.
telnet remoteABC
The following connects to remote host
10.2.3.4
port
2047
.
telnet 10.2.3.4 port 2047