3.
Configuring a Telnet Connection
MN700004 Rev 01
21
Description of Commands
telnet
The
telnet
command, in Privileged (Enable) mode, initiates a telnet client’s connection to the
specified remote host.
If the TCP port number is not specified, the telnet session default port number is 23.
To see the open telnet connections, use the
session
command in Privileged (Enable) mode.
Use the
log telnet-console
command, in Global Configuration mode, to direct log output
(messages issued by the system) to the telnet console.
Command Syntax
device-name
#
telnet
A.B.C.D
[
PORT
]
Argument Description
A.B.C.D
The IP address of the remote host.
PORT
(Optional) The port at which the remote service is running, in range <1-65535>. The
default value for telnet service is 23.
session
The
session
command, in Privileged (Enable) mode, displays the session indexes of all the
open sessions.
The session number can be used for terminating the session.
Command Syntax
device-name
#
session
Example
device-name
#
session
your current session is: 2
available sessions for operating with are: 2
session kill
The
session kill
command, in Privileged (Enable) mode, closes the appropriate session to the
remote host.
After executing the command, the BiNOS checks if the user is not trying to terminate the
master session (the VTY from which other sessions originate). If the result is negative, the
command closes the specified session to the remote host.