telnet

telnet

 

Devices

This command is supported in all Digi Connect Family devices.

supported

 

Purpose

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

Required

For Digi Connect products with two or more users, permissions must be set

permissions

to “set permissions telnet=execute” to use this command. See

 

"set permissions" on page 157 for details on setting user permissions for

 

commands.

Syntax

telnet [options] ip addr [tcp port]

Options

options

 

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

 

binary={onoff}

 

Turns on or off Telnet binary mode.

 

crmod={onoff}

 

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 addr

 

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

 

#> telnet 192.192.150.28 2004

See also

"rlogin" on page 66

 

"connect" on page 22

 

"close" on page 21

 

"status" on page 254

Chapter 2 Command Descriptions

255

Page 255
Image 255
Digi 90000566_H manual Telnet, Ip addr, Tcp port