Configure the Run-time Environment

About this task

Configure the run-time environment to define generic configuration settings for CLI sessions.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Change the login prompt:

    login-message WORD<1-1513>

  3. Change the password prompt:

    passwordprompt WORD<1-1510>

  4. Configure the number of supported rlogin sessions:

    max-logins <0-8>

    Note

    Note

    This step only applies to VSP 8600 Series.

  5. Configure the number of supported inbound Telnet sessions:

    telnet-access sessions <0-8>

  6. Configure the idle timeout period before automatic logoff for CLI and Telnet sessions:

    cli timeout <30-65535>

  7. Configure the number of lines in the output display:

    terminal length <8–64>

  8. Configure scrolling for the output display:

    terminal more <disable|enable>

Example

Switch:1> enable

Switch:# configure terminal

Use the default option to enable use of the default logon string:

Switch:(config)# default login-message

Use the default option before this parameter to enable use of the default string:

Switch:(config)# default passwordprompt

Configure the allowable number of inbound remote CLI logon sessions:

Switch:(config)# max-logins 5

Configure the allowable number of inbound Telnet sessions:

Switch:(config)# telnet-access sessions 8

Configure the timeout value, in seconds, to wait for a Telnet or CLI login session before terminating the connection:

Switch:(config)# cli timeout 900

Configure the number of lines in the output display for the current session:

Switch:(config)# terminal length 30

Configure scrolling for the output display:

Switch:(config)# terminal more disable

Variable Definitions

The following table defines parameters for the login-message command.

Variable

Value

WORD<1-1513>

Changes the CLI logon prompt.

  • WORD<1-1513> is an American Standard Code for Information Interchange (ASCII) string from 1–1513 characters.

  • Use the default option before this parameter, default login-message, to enable use of the default logon string.

  • Use the no operator before this parameter, no login-message, to disable the default logon banner and display the new banner.

Use the data in the following table to use the passwordprompt command.

Variable

Value

WORD<1-1510>

Changes the CLI password prompt.

  • WORD<1-1510> is an ASCII string from 1–1510 characters.

  • Use the default option before this parameter, default passwordprompt, to enable using the default string.

  • Use the no operator before this parameter, no passwordprompt, to disable the default string.

Use the data in the following table to use the max-logins command.

Variable

Value

<0-8>

Note:

Exception: only supported on VSP 8600 Series.

Configures the allowable number of inbound remote CLI logon sessions. The default value is 8.

Use the data in the following table to use the telnet-access sessions command.

Variable

Value

<0-8>

Configures the allowable number of inbound Telnet sessions. The default value is 8.

Use the data in the following table to use the cli time-out command.

Variable

Value

<30-65535>

Configures the timeout value, in seconds, to wait for a Telnet or CLI login session before terminating the connection.

Use the data in the following table to use the terminal command.

Variable

Value

<8–64>

Configures the number of lines in the output display for the current session. To configure this option to the default value, use thedefault operator with the command. The default is value 23.

disable|enable

Configures scrolling for the output display. The default is enabled. Use the no operator to remove this configuration. To configure this option to the default value, use the default operator with the command.

no