06-19-2006 08:37 PM - edited 03-03-2019 03:43 AM
Hi
Could you please tell me what's different between exec-timeout and session-timeout ? If i want to limit the time of idle traffic on line vty ,
how can i choose the appropriate command ?
Thanks
06-19-2006 11:53 PM
Hi!
exec timeout command is used to specify the timeout for exec sessions [telnet/ssh] whereas session timeout command specifies the idle timeout period for all the sessions. The default exec timeout period is 10 mins.
For specifying idle time out period of line vty, please enter the following commands in enable mode:
configure terminal
line vty 0 4
exec timeout (timeperiod)
Refer the following link for more -->
Hope it helps.
Please rate all helpful posts.
Regards,
AbhisheK
06-20-2006 02:04 AM
exec time out means seession waits for the user input before the time out and closing the seession...and its default of 10 minutes you can use the "exec-timeout" command to configure time...
and session time oute is the time interval that the router waits for the traffic before closing the connection and its in minutes...and you can configure it using "session-timeout minutes" command...default is 0...and output key word in this command tell router to use both input and output traffic to reset the counters...if you not use this output key word then only input traffic will cause a counter reset...
hope this will clear your idea...
rate this post if it helps
regards
Devang
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide