07-14-2022 01:06 AM - edited 07-14-2022 02:19 AM
Hello Experts,
I have a catalyst switch connected to cisco ISE, the ssh session ends after 15 min and we should log in by ssh again,
note that we tried to change the time under line vty but it does not work, it seems something must be changed in cisco ISE
Can anyone advise?
thank you
07-14-2022 07:16 AM
change the time under VTY ? which time you change ? if it idle or absolute timeout you change ?
07-17-2022 12:57 AM
Hello Dear MHM,
I use the exec-timeout configuration under line vty as below
line vty 0 4
exec-timeout 0 0
but unfortunately, still the time out 15 min, I think we must change something in the ISE, or anything else
Timeouts: Idle EXEC Idle Session Modem Answer Session Dispatch
00:15:00 00:15:00 00:15:02 not set
Thnaks
07-17-2022 01:32 AM
Hello,
as far as I recall, the command 'terminal session-timeout <minutes>" is available from the CLI...that should affect the SSH timeout.
07-17-2022 01:41 AM
Hi Georg,
no, this command is not supported on my devices
Thanks
07-17-2022 02:01 AM
Hello,
I am pretty sure that it has to do with the session timeout settings. What about configuring this under the vty lines ?
session-timeout 300
07-17-2022 03:44 AM
Yes, you are right, this command session-timeout 0 should extend the vty session, but when I type it seems that the device takes the order, but when we check, the command does not exist under vty, I think ISE trigger something missed
07-17-2022 06:08 AM
Hello
Usually session-timeout default to 30 mins, if you are not seeing this when you assign it to the vty lines then it could be down to your user role privilege access
show privilege
07-17-2022 06:12 AM
Hi Paul,
Thanks for your reply, yes the privilege is 15, and the session-timeout is 15 min (not the default)
07-17-2022 07:16 AM
pls share output - sh runn all | i session-timeout
07-17-2022 10:31 PM
Hi Tagir,
nothing found under this command
07-17-2022 07:34 AM
there are timeout
exec-timeout
absolute-timeout
you config the exec-timeout BUT if it long than absolute-timeout then the session will terminate before the exec-timeout.
how can I solve this
config absolute-timeout <please here dont config it as infinity, because it will hang your VTY line forever and you need to reboot in some time to release the line>
so start config is with 1 hour and then increase it whenever you want.
NOTE:- it better to config also exec-timeout <less than absolute-timeout> to kill session when it idle for long time.
07-17-2022 10:36 PM
Hi MHM,
Please note that we can't configure the absolute-timeout, also we need to make the ssh session as infinity
07-18-2022 06:46 AM
OK I get your point,
there are two command
show line vty <x>
show terminal
to make sure that the issue from ISE not from SW or bug,
please console to SW change the timeout the do
show line vty <x>
if you see the timeout is change then
ssh to switch
show terminal
if you see the timeout is 00 15 00 then the issue is ISE timeout is override the config value.
07-19-2022 12:20 AM
Hello MHM,
Yes, the time is still 15min after trying to change it under the line VTY, also the command session-timeout under the line vty doesn't remain after writing it, so yes this is the most probable issue, but we need to know where to check from ISE side
Thank You
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