02-04-2015 08:42 AM
Hello All,
Cisco IOS: Version 12.4(13r)T
Device: Cisco 2821
Is it possible to increase the "inactivity/idle" timeout on the router for when you are telnet'ed in? Right now, after about 10 minutes or so of inactivity you get automatically logged out. Is there a way to increase this timeout setting?
Any thoughts or suggestions would be much appreciated!
Thanks in Advance,
Matt
Solved! Go to Solution.
02-04-2015 10:20 AM
This example shows how to revert to the default inactive session timeout for the virtual terminal:
This example shows how to configure the inactive session timeout for the console port:
This example shows how to revert to the default inactive session timeout for the console port:
02-04-2015 10:20 AM
This example shows how to revert to the default inactive session timeout for the virtual terminal:
This example shows how to configure the inactive session timeout for the console port:
This example shows how to revert to the default inactive session timeout for the console port:
02-04-2015 10:54 AM
Hey, thanks for the reply.
But, I'm not seeing the same configuration commands that yours is showing...
I see:
Rtr-Gateway# conf t
Enter configuration commands, one per line. End with CNTL/Z.
Rtr-Gateway(config)# line ?
<0-529> First Line number
aux Auxiliary line
console Primary terminal line
tty Terminal controller
vty Virtual terminal
x/y Slot/Port for Modems
x/y/z Slot/Subslot/Port for Modems
Rtr-Gateway(config)# line vty ?
<0-988> First Line number
Rtr-Gateway(config)#
Rtr-Gateway(config)# line ?
<0-529> First Line number
aux Auxiliary line
console Primary terminal line
tty Terminal controller
vty Virtual terminal
x/y Slot/Port for Modems
x/y/z Slot/Subslot/Port for Modems
Rtr-Gateway(config)# line console ?
<0-0> First Line number
Rtr-Gateway(config)# line console 0 ?
Is that for the same version that I'm running, which is Version 12.4(13r)T?
Thanks again for the reply, much appreciated!
Thanks,
Matt
02-04-2015 11:31 AM
You need to select the vty line then press enter. Once you`re in the "(config-line)#" mode enter the command "exec-timeout". In the following example I have selected the line vty 0 and the timeout is 30 minutes.
Switch(config)#line vty 0
Switch(config-line)#exec-timeout 30
MK
02-04-2015 11:50 AM
Ahh ha... Ok I see it now, sorry I missed that the first time around, thanks!
So when I telnet to the router I am using the virtual terminal, *i.e. "vty", is that right?
If so, is there a command that shows which vty I'm currently logged-into/using or which vty(s) are currently in use by any user?
I ask because if I run the following it shows vty 0 and vty 5:
Rtr-Gateway# show run | inc vty
line vty 0 4
line vty 5 15
If you're familiar with Linux, I guess it would be like the "who" and "whoami" commands in Linux.
Thanks Again,
Matt
02-04-2015 12:29 PM
show users in globla mode will display which vty is being used
switch# show users
Line User Host(s) Idle Location
*388 vty 0 patadmin idle 00:00:00 10.16.X.X
Interface User Mode Idle Peer Address
MK
.
02-04-2015 01:13 PM
Perfect! Thanks again...
Thanks,
Matt
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