USER’S GUIDE

TELNET COMMANDS

These commands are Telnet client console commands. These commands provide tools for you when you are using the system as a Telnet client. As a Telnet client, the CyberSWITCH can then be used to Telnet into another CyberSWITCH to perform system maintenance, for example, updating configuration information. These commands are not needed for a Telnet session as a rule, but may be beneficial for some users. For more information regarding the system’s Telnet client feature, refer to the Telnet section of the Remote System Management chapter.

telnet ?

Displays the help screen for the telnet command. The help screen provides the syntax for the command described below.

telnet <ip-address> [port number]

Begins a Telnet session for the Telnet host at the indicated IP address. The port number is an optional parameter that can be used to specify the destination port number. Include this parameter if you wish to connect to a port other than the default port number, 23.

telnet

The telnet command used with no arguments, as opposed to the above command, puts you in the Telnet command mode. Once you are in the Telnet command mode, the following commands are then available.

close

Used to close the current Telnet connection to a target host.

exit

Closes the current Telnet session. If a connection exists to a target host, it is gracefully closed.

open

Used to establish a Telnet session with a target host. You can enter the IP address of the target host, and optionally, the remote port number, to connect to. If no remote port number is specified, the default Telnet port is used (23). The valid range for port number is 1 to 65535. The IP address specified is verified for proper format.

If a Telnet session is successfully initiated as a result of the open command, a screen similar to the following will be displayed:

telnet>open 204.157.42.150

Trying 204.157.42.150...

Connected to 204.157.42.150.

Escape character is ‘^]’.

If an IP address (and port) are not specified on the “open” command line, you will be prompted for the target host’s IP address.

send [send parameter]

Used to send special Telnet control functions to the currently connected target host. A connection must be fully established before you can send anything. If no parameters are specified on the send command line, the following help message is displayed:

618 CyberSWITCH

Page 618
Image 618
Enterasys Networks CSX5500, CSX6000, CSX7000 manual Telnet Commands