cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
38864
Views
8
Helpful
2
Replies

exec-timeout vs session-timeout

pccthailand
Level 1
Level 1

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 2

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

devang_etcom
Level 7
Level 7

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