Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Guide That Contains This Content
[+] Expand All
[-] Collapse All

    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.
      host1(config)#line console 0
    2. 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. The interval can be set 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.
      host1(config-line)#login host1(config-line)#timeout login response 15

      Use the no version to restore the default interval.

    Published: 2014-08-12