[Contents]
[Prev]
[Next]
[Index]
[Report an Error]
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:
- 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
timeout login response
- 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
- host1(config-line)#timeout login response
15
- Use the no version to restore the default interval, 30
seconds.
- See timeout login response.
[Contents]
[Prev]
[Next]
[Index]
[Report an Error]