Telnet Configuration Mode Commands

The Telnet Configuration Mode is used to manage the telnet server options for the current context.

Mode

Exec > Global Configuration > Context Configuration > Telnet Configuration

configure > context context_name > server telnet

Entering the above command sequence results in the following prompt:

[local]host_name(config-telnetd)# 

Important


The commands or keywords/variables that are available are dependent on platform type, product version, and installed license(s).



Caution


For maximum system security, you should not enable telnet functionality. SSH is the recommended remote access protocol. In release 20.0 and higher Trusted StarOS builds, telnet is not supported.

The global limit for utility service connections, including SSH, Telnet, and SFTP, is 201. This includes any inter-card communication that uses SSH.


do show

Executes all show commands while in Configuration mode.

Product

All

Privilege

Security Administrator, Administrator

Syntax

do show 

Usage Guidelines

Use this command to run all Exec mode show commands while in Configuration mode. It is not necessary to exit the Config mode to run a show command.

The pipe character | is only available if the command is valid in the Exec mode.


Caution


There are some Exec mode show commands which are too resource intensive to run from Config mode. These include: do show support collection , do show support details , do show support record and do show support summary . If there is a restriction on a specific show command, the following error message is displayed:

Failure: Cannot execute 'do	show support' command from Config mode.

end

Exits the current configuration mode and returns to the Exec mode.

Product

All

Privilege

Security Administrator, Administrator

Syntax

end 

Usage Guidelines

Use this command to return to the Exec mode.

exit

Exits the current mode and returns to the parent configuration mode.

Product

All

Privilege

Security Administrator, Administrator

Syntax

exit 

Usage Guidelines

Use this command to return to the parent configuration mode.

max servers

Configures the maximum number of telnet servers that can be started within any 60-second interval. If this limit is reached, the system waits two minutes before trying to start any more servers.

Product

All

Privilege

Security Administrator, Administrator

Mode

Exec > Global Configuration > Context Configuration > Telnet Configuration

configure > context context_name > server telnet

Entering the above command sequence results in the following prompt:

[local]host_name(config-telnetd)# 

Syntax

max servers count 

count

Specifies the maximum number of telnet servers that can be spawned in any 6- second interval. count must be an integer from 1 through 100. Default: 40

Usage Guidelines

Use this command to set the number of telnet servers to tune the system response, as a heavily loaded system may need more servers to support the incoming requests.

The converse would be true in that a system can benefit by reducing the number of servers such that telnet services do not cause excessive system impact to other services.

Example

The following command sets the maximum number of telnet servers to 30:
max servers 30