05-08-2019 01:57 PM
Hi,
I'm trying to update NXOS on several Nexus switches located in remote locations from a local TFTP server. Problem is, even though the TFTP server and switches are located in the same location, it takes a long time to download the 1GB file in the switches. I know that some Catalyst switches can adjust the TFTP block size to a bigger number than 512 to speed up TFTP file transfers.
However, I haven't had any luck finding a command that does just that. The ip tftp command only allows to configure source interface for TFTP client.
Does anybody know how to adjust this parameter on Nexus Switches?
Any clue would be appreciated.
Solved! Go to Solution.
05-08-2019 03:20 PM
Hello,
I think in NX-OS all you can change is the TFTP source interface. That said, TFTP is sort of outdated, better use SCP or SFTP (enable the feature first if you want to use these on your Nexus 900...-->feature scp-server/feature sftp-server
05-08-2019 03:20 PM
Hello,
I think in NX-OS all you can change is the TFTP source interface. That said, TFTP is sort of outdated, better use SCP or SFTP (enable the feature first if you want to use these on your Nexus 900...-->feature scp-server/feature sftp-server
10-12-2023 11:38 AM
Use the use-kstack syntax at the end of your SCP or SFTP copy command to increase throughput.
See Documentation for details: Cisco Nexus 9000 Series NX-OS Programmability Guide, Release 9.3(x) - Bash [Cisco Nexus 9000 Series Switches] - Cisco
10-12-2023 01:03 PM
As the other posters have already described, using a TCP based protocol is likely to be "faster" (due to TCP windowing) than using a UDP based protocol.
Somethings to also keep in mind Cisco device flash can be a bottleneck, as also perhaps the device's CPU (also CoPP [Nexus?] can be another performance limiter).
11-06-2024 06:18 AM
Try "ip tcp mss 10000"
11-06-2024 07:08 AM
"Try "ip tcp mss 10000""
BTW, won't help tftp.
11-06-2024 07:32 AM
11-07-2024 05:38 AM
This doesn't appear to be available on NX-OS, but it helped a LOT on IOS-XE
ip tftp blocksize 8192
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