Configure the Run-time Environment
About this task
Configure the run-time environment to define generic configuration settings for CLI sessions.
Procedure
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.
|
Use the data in the following table to use the passwordprompt command.
Variable |
Value |
---|---|
WORD<1-1510> |
Changes the CLI password prompt.
|
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 |