[Contents]
[Prev]
[Next]
[Index]
[Report an Error]
Using the telnet Command
You can use the CLI telnet command to open a telnet session
to a remote device:
user@host> telnet host <8bit>
<bypass-routing> <inet>
<interface interface-name>
<no-resolve> <port port>
<routing-instance routing-instance-name>
<source address>
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 quit.
Table 26 describes the telnet command
options. For more information, see the JUNOS Protocols, Class of Service, and System Basics Command Reference.
Table 26: CLI
telnet Command Options
|
Option
|
Description
|
|
8bit
|
Use an 8-bit data path.
|
|
bypass-routing
|
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.
|
|
host
|
Open a telnet session to the specified hostname or IP address.
|
|
inet
|
Force the telnet session to an IPv4 destination.
|
|
interface source-interface
|
Open a telnet session to a host on the specified interface. If you do
not include this option, all interfaces are used.
|
|
no-resolve
|
Suppress the display of symbolic names.
|
|
port port
|
Specify the port number or service name on the host.
|
|
routing-instance routing-instance-name
|
Use the specified routing instance for the telnet session.
|
|
source address
|
Use the specified source address for the telnet session.
|
[Contents]
[Prev]
[Next]
[Index]
[Report an Error]