User guide
telnet
Chapter 2 Command Descriptions 255
telnet
Device support This command is supported in all devices.
Purpose Establishes a Telnet session with a remote system.
To establish a character sequence to escape or shell-out of a Telnet
session without killing the session, use the “set user” command’s
“telnetesc=character” option. The default Telnet escape character
sequence is ^] (Ctrl and right bracket).
Required
permissions
Anyone can use this command.
Syntax telnet {hostname|host ip addr} [tcp port]
Options hostname
The name of the host to which you want a Telnet session. DNS must be
configured on the device server to use this option.
host ip addr
The IP address of the host to which you want a Telnet session.
tcp port
The TCP port assigned the Telnet application on the remote system. The
default is 23, the port typically used for Telnet.
Examples Establish a Telnet session using a host name
In this example, the "telnet" command establishes a Telnet session using a
host name. The default TCP port (23) is used.
#> telnet host1
Establish a Telnet session using an IP Address
In this example, the telnet command establishes a Telnet session using an
IP address. The default TCP port (23) is used.
#> telnet 192.192.150.28
Establish a Telnet session to a device server port from the LAN
In this example, a user on the LAN initiates a Telnet connection to port 4 on
a device server named host-1.
#> telnet host-1 2004
See also • "close" on page 54.
• "connect" on page 56.
• "exit" on page 62.
• "kill" on page 66.
• "mode" on page 67.
• "quit" on page 75.
• "reconnect" on page 76.