Foundry NetIron M2404C and M2404F Metro Access Switches
Switch Setup and Maintenance (Rev. 03)
Accessing the Switch using Telnet
© 2008 Foundry Networks, Inc.
Page 18 of 35
Configuring Telnet
Telnet Session Commands
Table 7
lists the Telnet commands.
Table 7: Telnet Configuration Commands
Command
Description
telnet
Initiates a Telnet client’s connection to a specified remote host (this
command is available in Privileged (Enable) mode).
telnet
Disables or enables Telnet connections to the device (this command is
available in Global Configuration mode).
who
Displays all the currently open VTY connections to the device.
session
Displays the session index of the currently open session.
session kill
Closes the specified Telnet connection from a remote host.
Starting a Client’s Telnet Connection
The
telnet
command, in Privileged (Enable) mode, initiates a Telnet client’s connection to the
specified remote host.
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.
By default, the TCP Telnet session port number is 23.
Command Syntax
device-name
#
telnet A.B.C.D
[
<port-num>
]
Argument Description
A.B.C.D
The IP address of the remote host.
port-num
(Optional). The destination port at which the remote service is running, in the
range <1-65535>. The default value for Telnet service is 23.
Enabling and Disabling the Telnet Server
The
telnet
command, in Global Configuration mode, disables or enables
Telnet connections to the
device.
The
stop
argument disables all Telnet connections to the device. Any Telnet connections that are
open when this command is executed will be terminated immediately.
To re-enable Telnet to the device, use the
start
argument.
By default, Telnet services are enabled on the device.