Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

telnet

 

List of Syntax

Syntax

Syntax (EX Series Switches)

Syntax (Junos OS Evolved)

Syntax

Syntax (EX Series Switches)

Syntax (Junos OS Evolved)

Release Information

Command introduced before Junos OS Release 7.4.

Command introduced in Junos OS Release 9.0 for EX Series switches.

The following options are deprecated in Junos OS Evolved Release 18.3R1: bypass-routing, interface, no-resolve, and source.

The command tenant option is introduced in Junos OS Release 19.2R1 for SRX Series.

Description

Open a telnet session to a remote system. Type Ctrl+] to escape from the telnet session to the telnet command level, and then type quit to exit from telnet.

Note

For Junos OS Evolved, use the routing-instance mgmt_junos option to access a remote system through the management interface.

Options

hostName or address of the remote system.
8bit(Optional) Use an 8-bit data path.
bypass-routing(Optional) Bypass the normal routing tables and send ping requests directly to a system on an attached network. If the system is not on a directly attached network, an error is returned. Use this option to ping a local system through an interface that has no route through it.
inet | inet6(Optional) Open an IPv4 or IPv6 session, respectively.
interface interface-name(Optional) Interface name for the telnet session. (This option does not work when default-address-selection is configured at the [edit system] hierarchy level, because this configuration uses the loopback interface as the source address for all locally generated IP packets.)
logical-system logical-system-name(Optional) Name of a particular logical system for the telnet attempt.
tenant tenant-name(Optional) Name of a particular tenant system for the telnet attempt.
no-resolve(Optional) This option is not supported for Junos OS Evolved Release 18.3R1. Do not attempt to determine the hostname that corresponds to the IP address.
port port-number(Optional) Port number or service name on the remote system.
routing-instance routing-instance-name(Optional) Name of the routing instance for the telnet attempt.
source source-address(Optional) This option is not supported for Junos OS Evolved Release 18.3R1. Source address of the telnet connection.

Additional Information

You can limit the number of times a user can attempt to enter a password while logging in through telnet. To specify the number of times a user can attempt to enter a password to log in through telnet, include the retry-options statement at the [edit system login] hierarchy level.

Required Privilege Level

network

List of Sample Output

telnet

Output Fields

When you enter this command, you are provided feedback on the status of your request.

Sample Output

telnet

user@host> telnet 192.154.1.254