By default, an individual CLI session never times out after extended times, unless the idle-timeout statement has been included in the user’s login class configuration. To set the maximum time an individual session can be idle before the user is logged off the router, use the set cli idle-timeout command:
- user@host> set cli idle-timeout timeout
timeout can be 0 through 100,000 minutes. Setting timeout to 0 disables the timeout.