Supported Platforms
telnet
Syntax
Syntax (EX Series Switches)
Release Information
Command introduced before Junos OS Release 7.4.
Command introduced in Junos OS Release 9.0 for EX Series switches.
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.
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. |
no-resolve | — | (Optional) 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) 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. For details, see the Junos OS Administration Library for Routing Devices.
Required Privilege Level
network
List of Sample Output
telnetOutput 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
Trying 192.154.169.254... Connected to level5.company.net. Escape character is '^]'. ttypa login: