05-05-2020 10:43 PM
Hi - I am copying IOS file of 439MB from our Data center jump server to Remote site Switch using FTP but after an hour SSH session of the switch is getting closed automatically.
I have also changed the line vty session timeout and exec-timeout to never expire but still I am facing the same issue. below are some output. Can anyone please help me to get
===================================================
C3650Switch#sh users
Line User Host(s) Idle Location
2 vty 0 admin idle 00:42:10 10.154.2.130
Interface User Mode Idle Peer Address
-------------------------------------------------------------------------------
line con 0
session-timeout 15
exec-timeout 15 0
logging synchronous
stopbits 1
line aux 0
stopbits 1
line vty 0 4
access-class VTY_IN in
exec-timeout 0 0
logging synchronous
transport input ssh
line vty 5 15
access-class VTY_IN in
exec-timeout 0 0
logging synchronous
transport input ssh
--------------------------------------------------------------
C3650Switch#sh terminal
Line 3, Location: "", Type: "xterm"
Length: 24 lines, Width: 80 columns
Baud rate (TX/RX) is 9600/9600
Status: PSI Enabled, Ready, Active, No Exit Banner, Automore On
Notify Process
Capabilities: none
Modem state: Ready
Special Chars: Escape Hold Stop Start Disconnect Activation
^^x none - - none
Timeouts: Idle EXEC Idle Session Modem Answer Session Dispatch
never never none not set
Idle Session Disconnect Warning
never
Login-sequence User Response
00:00:30
Autoselect Initial Wait
not set
Modem type is unknown.
Session limit is not set.
Time since activation: 00:00:17
Editing is enabled.
History is enabled, history size is 20.
DNS resolution in show commands is enabled
Full user help is disabled
Allowed input transports are ssh.
Allowed output transports are telnet ssh.
Preferred transport is telnet.
Shell: disabled
Shell trace: off
No output characters are padded
No special data dispatching characters
05-06-2020 01:27 AM
- Why does it need to take that long and or why is the transfer speed so slow ?
M.
05-06-2020 06:12 AM
This is because of high bandwidth utilization at DC site but I am looking for to increase the SSH session timeout period on the cisco switch. I have configured line vty session-timeout and exec-timeout but its not work.
05-06-2020 07:31 AM
Why not just do and no exec-timeout on line vty 0-15 on the switch and them when you verify the file was copied just simply disconnect form the switch.
05-06-2020 07:50 AM
Yes, I tried no exec-timeout but still session getting disconnect after an hour. Even I changed putty setting and enable the keepalive setting but this also not help me here.
05-06-2020 08:39 AM - edited 05-06-2020 08:50 AM
could it be your FTP server configuration. What are you using for your FTP Server ? Also on the FTP Server verify you have permission to download files, verify username and password configuration on the switch and on the server. then Go to your PC and go to cmd ( command promp ) and type ftp ( ftp server ip address) then enter the username and password for the switch you're having problem, it will let you know if you have access.
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