Here's a Cisco link in copying or transferring a Nexus config file to a remove server (or local USB). This is useful if you're doing an RMA and needed to quickly transfer config from old to new Nexus switch. If you're using the USB flash drive/disk, make sure it's formatted to FAT16.
N9K# copy running-config usb1:my-config.cfg
Copy complete, now saving to disk (please wait)...
Copy complete.
N9K# dir usb1:
4096 Feb 06 09:41:48 2026 System Volume Information/
34494 Feb 06 09:41:48 2026 autorun.ico
194 Feb 06 09:41:48 2026 autorun.inf
23462 Mar 07 03:55:23 2026 my-config.cfg
2058225152 Feb 06 11:18:24 2026 nxos.9.3.x.bin
The NX-OS file transfer took a few minutes to finish. Make sure your USB drive has enough memory.
N9K# copy nxos64-cs.10.x.M.bin usb1:nxos64-cs.10.x.M.bin
Copy progress 70% 1957560KB
file error
Destination: No space left on device