[Contents] [Prev] [Next] [Index] [Report an Error]

Customizing the User Interface

You can access the CLI through a console connected directly to the system or through a Telnet session. This section describes how you can customize the user interface. Some commands apply to the console, and some commands apply to vty lines that support Telnet sessions.

Setting the Console Speed

You can specify the console speed for only the current console session or for the current console session and all subsequent console sessions.

speed

terminal speed

Configuring the Display Terminal

You can specify the number of lines that appear on a terminal screen and the number of characters that appear on a line.

terminal length

terminal width

Specifying the Character Set

You can specify the number of data bits per character for the current vty session and for all subsequent sessions on the specified vty lines. This feature allows you to display international characters on the terminal’s screen.

data-character-bits

terminal data-character-bits

Configuring Login Conditions

You can issue the dsr-detect command to configure the system so that a data set ready (DSR) signal is required to log in to the console. If a session is in progress and the DSR signal is lost, the user is logged out automatically.

host1(config)#line console 0
host1(config-line)#dsr-detect

DSR is carried on pin 6 of the SRP module’s RS-232 (DB-9) connector. The DSR input must be connected to the DSR output of a modem or the DTR output of another data terminal device, such as a terminal server, that supports this signal.

dsr-detect

Setting Time Limits for User Login

You can specify a time interval that the CLI waits for a user to provide a password when logging in to the console or a vty line. To do so:

  1. Access the line configuration mode using either the console or vty keyword.
  2. Specify the time during which the user must enter the password. For example:
    host1(config)#line console 0
    host1(config-line)#login
    host1(config-line)#timeout login response 15

timeout login response

Setting Time Limits for User Input

You can specify a time interval that the CLI waits for user input on the console or vty lines. To do so:

  1. Access the line configuration mode using either the console or vty keyword.
  2. Specify the time during which the user must enter information. For example:
    host1(config)#line vty 0
    host1(config-line)#exec-timeout 4192 13

exec-timeout

Configuring CLI Messages

You can configure text banners for the CLI to display to users at different times in the connection process.

banner

exec-banner

motd-banner

Monitoring the Console Settings

You can use the following commands to monitor console settings.

show line console 0

show terminal


[Contents] [Prev] [Next] [Index] [Report an Error]