telnet

Purpose

Used to make an outgoing Telnet connection, also known as a session.

Required permissions

For Digi products with two or more users, permissions must be set to set permissions telnet=execute to use this command. See set permissions for details on setting user permissions for commands.

Syntax

telnet [options] [{ip address|hostname}] [tcp port]

Options

options

The Telnet options for the command, which may be as follows:

binary={on|off}

Turns on or off Telnet binary mode.

crmod={on|off}

Turns on or off the replacement of the carriage-return character sequence (\r) with the new-line character sequence (\n) on incoming network data.

{ip address|hostname}

The IP address of the host to which you want make a Telnet connection.

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 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 Digi device.

#> telnet 192.192.150.28 2004

See also