Using the telnet Command
You can use the CLI
To escape from the telnet session to the telnet command prompt, press Ctrl-]. To
exit from the telnet session and return to the CLI command prompt, enter
Table 67 describes the
JUNOS Protocols, Class of Service, and System Basics Command Reference.
Table 67: CLI telnet Command Options
Option
8bit
bypass-routing
host
inet
interface source-interface
no-resolve
port port
routing-instance
routing-instance-name
source address
Using the ssh Command
You can use the CLI
to open a connection to a remote device:
Table 68 describes the
JUNOS Protocols, Class of Service, and System Basics Command Reference.
Using the telnet Command on page 195
Using the ssh Command on page 195
command to open a telnet session to a remote device:
telnet
user@host> telnet host <8bit> <bypass-routing> <inet>
<interface interface-name > <no-resolve> <port port >
<routing-instance routing-instance-name > <source address >
command options. For more information, see the
telnet
Description
Use an 8-bit data path.
Bypass the routing tables and open a telnet session only to hosts on directly attached
interfaces. If the host is not on a directly attached interface, an error message is
returned.
Open a telnet session to the specified hostname or IP address.
Force the telnet session to an IPv4 destination.
Open a telnet session to a host on the specified interface. If you do not include this
option, all interfaces are used.
Suppress the display of symbolic names.
Specify the port number or service name on the host.
Use the specified routing instance for the telnet session.
Use the specified source address for the telnet session.
command to use the secure shell (SSH) program
ssh
user@host> ssh host <bypass-routing> <inet>
<interface interface-name > <logical-router logical-router-name >
<routing-instance routing-instance-name > <source address > <v1> <v2>
command options. For more information, see the
ssh
Managing Users and Operations
Accessing Remote Devices with the CLI
.
quit
195