Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

exec-timeout vs session-timeout

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

2 REPLIES

Re: exec-timeout vs session-timeout

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 -->

http://www.cisco.com/en/US/products/sw/iosswrel/ps1826/products_command_reference_chapter09186a00800d9c35.html#xtocid26729

Hope it helps.

Please rate all helpful posts.

Regards,

AbhisheK

Re: exec-timeout vs session-timeout

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

10429
Views
8
Helpful
2
Replies
CreatePlease to create content