Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

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

    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.
      host1(config)#line vty 0
    2. Set the time interval that the console or vty lines wait for expected user input. If the interval passes and the user has not responded, the system closes the session or lines. The time limit can be set in the range 0–35791 minutes, and the setting of number of seconds is optional. By default, there is no time limit.
      host1(config-line)#exec-timeout 4192 13

      Use the no version to remove the time limit.

    Published: 2014-08-12