|
This chapter describes how to configure communication server lines to support Telnet connections. For a complete description of commands in this chapter, see the Communication Server Command Reference publication.
The Internet Protocol (IP) suite includes the simple remote terminal protocol called Telnet. Telnet allows a user at one site to establish a TCP connection to a login server at another site, then passes the keystrokes from one system to the other. Telnet can accept either an IP address or a domain name as the remote system address. In short, Telnet offers three main services:
The Cisco Systems implementation of Telnet supports the following Telnet options:
Making Telnet connections is described in the Communication Server and Protocol Translator Connection Guide publication.
This section summarizes the following tasks for configuring Telnet on the communication server:
Each task is described in a following section.
You can set the line speed to match line speeds on remote systems in reverse Telnet, host machines hooked to a communication server to access the network, or a group of console lines hooked up to the communication server when disparate line speeds are in use at the local and remote ends of the connection. Line speed negotiation adheres to the Remote Flow Control option, defined in RFC 1080. Perform the following task in line configuration mode:
Task | Command |
---|---|
Negotiate speeds on reverse Telnet lines. | telnet speed default-speed maximum-speed |
You can set the line to allow the communication server to refuse full duplex, remote echo connection requests from the other end. This task suppresses negotiation of the Telnet Remote Echo and Suppress Go Ahead options. Perform the following task in line configuration mode:
Task | Command |
---|---|
Cause Telnet to refuse to negotiate full duplex, remote echo options on incoming connections. | telnet refuse-negotiations |
You can configure the line to cause the communication server to send a RETURN (CR) as a CR followed by a NULL instead of a CR followed by a LINE FEED (LF). This is useful for coping with different interpretations of end-of-line handling in the Telnet protocol specification. Perform the following task in line configuration mode:
Task | Command |
---|---|
Set line to send a RETURN (CR) as a CR followed by a NULL instead of a CR followed by a LINE FEED (LF). | telnet transparent |
You can set the line to cause a reverse Telnet line to send a Telnet Synchronize signal when it receives a Telnet BREAK signal. The TCP Synchronize signal clears the data path, but will still interpret incoming commands. Perform the following task in line configuration mode:
Task | Command |
---|---|
Set line to send a Telnet Synchronize signal when it receives a Telnet BREAK signal. | telnet sync-on-break |
You can set the line to cause the system to generate a hardware BREAK signal on the RS-232 line that is associated with a reverse Telnet connection, when a Telnet Interrupt-Process (Telnet IP) command is received on that connection. This can be used to control the translation of Telnet IP commands into X.25 BREAK indications, and to work around the following situations:
A hardware BREAK signal is generated when a telnet break-on-ip command is received.
Task | Command |
---|---|
Set line to cause the system to generate a hardware BREAK signal on the RS-232 line that is associated with a reverse Telnet connection. | telnet break-on-ip |
When used with a correctly operating host, communication servers implement the Telnet Synchronize and Abort Output signals, which can stop output within one packet's worth of data from the time the user types the interrupt character. You can configure a faster response to user interrupt characters. Perform the following global configuration task:
Task | Command |
---|---|
Optimize the line by setting the number of characters output before the interrupt executes. | ip tcp chunk-size number |
Changing the chunk size affects neither the size of the packet used nor the TCP window size, either of which would cause serious efficiency problems for the remote host as well as for the communication server. Instead, the Telnet status is checked after the number of characters specified, causing only a relatively minor performance loss.
You can configure connections to an IP address to act identically to connections made to the server's primary IP address on the TCP port. A user trying to connect is connected to the first free line in a rotary group using the Telnet protocol. Perform the following task in interface configuration mode:
Task | Command |
---|---|
Assign an internet address to the service provided on a TCP port. | ip alias internet-address TCP-port |
You can send a specific string to a host computer once a successful Telnet or rlogin connection has been made. The string can be another login command or any string that would be appropriate after logging in to a host. Perform the following task in global configuration mode:
Task | Command |
---|---|
Send a specific string after a successful rlogin or Telnet connection. | login-string hostname d message [%secp] [%secw] [%b] [m%] d |
This task is only useful with two-step protocol translation sessions.
|