JUNOSe 11.1.x System Basics Configuration Guide
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.
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.
2.
timeout login response
284
Customizing the User Interface
host1(config)#line console 0
host1(config-line)#dsr-detect
Use to require that a DSR signal be detected on the line for a user to log in to
the console.
By default, DSR is not required and DSR detection is disabled.
Example
host1(config-line)#dsr-detect
Use the no version to remove the DSR requirement for login.
See dsr-detect.
Access the line configuration mode using either the console or vty keyword.
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
Use to set the time interval that the console or vty lines wait for the user to log
in.
If the interval passes and the user has not responded, the system closes the
session or lines.
Specify an interval in the range 0–300 seconds. A value of 0 means that there
is no time limit during which the user must respond.
The default value is 30 seconds.
Example