cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
475
Views
0
Helpful
1
Replies

timeout of switch/router log in

Mary
Level 1
Level 1

I use putty or secure CRT to login in to one switch, every 15 minutes, if no activity, it will log off, so how can we adjust to 1.5 hour idle time, so only adtrer 1.5 h no activity, the session will become inactive, for example in 2960 switch, how to adjust? 

I want to adjust idle time of direct SSH login as well as idle time of indirect telnet from another switch,  thanks

1 Reply 1

johnlloyd_13
Level 9
Level 9

hi,

you configure exec-timeout under VTY lines (on a router or switch).

Router(config)#line vty 0 4
Router(config-line)#exec-timeout ?
  <0-35791>  Timeout in minutes

Router(config-line)#exec-timeout 5400   <<< 5400 seconds = 1.5 hrs