Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents

telnet

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
telnet host
<8bit>
<inet | inet6>
<port port-number> 
<routing-instance routing-instance-name>
<logical-system logical-system-name>
<tenant tenant-name>

Syntax (EX Series Switches)

content_copy zoom_out_map
telnet host
<8bit>
<bypass-routing>
<inet | inet6>
<interface interface-name>
<no-resolve>
<port port-number> 
<routing-instance routing-instance-name>
<source source-address>

Syntax (Junos OS Evolved)

content_copy zoom_out_map
telnet host
<8bit>
<inet | inet6>
<port port-number> 
<routing-instance routing-instance-name>

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

host

Name 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

Output Fields

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

Sample Output

telnet

content_copy zoom_out_map
user@host> telnet 192.154.1.254 
Trying 192.154.169.254...
Connected to level5.company.net.
Escape character is '^]'.
ttypa
login: 

Release Information

Command introduced before Junos OS Release 7.4.

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.

footer-navigation