04-05-2022 12:33 AM
Hi All
This is the first time I'm doing a firmware upgrade on a cisco switch. I'm use to dell.
I've been trying to do this for a few days now and not sure where i'm going wrong.
I first started with the usb but then I found out that you need to run the "compact" flag on the end.
I'm using solar winds SFTP/SCP tool to get my nxos.7.0.3.I7.10.bin on to it.
I'm following the Cisco Upgrade path
But i can't seem to get the image on there successfully.
It copies the file to 100% but then errors out saying
dstnexus03(config)# copy scp://jeff@10.80.10.247/nxos.7.0.3.I7.10.bin . compact vrf management
jeff@10.80.10.247's password:
nxos.7.0.3.I7.10.bin 100% 940MB 8.6MB/s 01:50
lost connection
Scp Compact of /bootflash/./nxos.7.0.3.I7.10.bin failed
Error doing scp
when I do ping the scp server from my nexus I get "No route to host"
But server can ping nexus.
Both are on the same vlan.
I have features enabled:
feature telnet feature bash-shell feature scp-server feature interface-vlan feature dhcp feature lldp
Not sure what I'm missing here?
04-05-2022 01:20 AM
what kind of SCP Server ? Linux ?
when you ping you need to use VRF management to reach SCP Server. Looks like your GRT table not aware SCP Server address
# ping x.x.x.x vrf management
You have 2 Options :
Options1.
check ping is working and able to reach SCP server before proceed to copy
ssh user@scpserverip (using VRFmanagement as source) see are you able to connect.
Option2 . Download simple TFTP tool
https://pjo2.github.io/tftpd64/
easy to transfer the files.
1.
04-05-2022 01:34 AM
Thanks @balaji.bandi
So the ping x.x.x.x vrf management gives me a ping result.
But
ssh: connect to host 10.80.10.247 port 22: No route to host
but the scp should still work, right?
04-05-2022 01:43 AM
you need to use VRF as source as mention other post like below :
ssh admin@192.168.1.1 vrf management
04-05-2022 01:45 AM
- No , scp uses the same ssh-service on the remote target , 'No route to host' simply means the remote scp/ssh service can not be reached , did you try the ssh with specifying management vrf too ?
M.
04-05-2022 01:54 AM
So it connects and asks for the password but after entering it I get a
shell request failed on channel 0
04-05-2022 02:53 AM
This may be due to far end issue, what SCP server you have other side
Looks like this is more complicated for you, why not install simple TFTP and fix the issue.
04-05-2022 03:21 AM
>...shell request failed on channel 0
- Check logs on remote ssh/scp server, use perhaps other brand (e.g.) or fallback to tftp (less performant and secure)
M.
04-05-2022 05:36 PM
Still trying to find where the logs are for this application.
Any one suggest an possible alternative for windows?
simple TFTP is a not working, I need to use scp as I need to apply the compact flag during the copy.
04-05-2022 09:04 PM
- FYI : https://thwack.solarwinds.com/free-tools-trials/f/sftp-scp-server/6599/scp-server-sshd-log-files
M.
04-05-2022 11:34 PM
Hi All
I couldn't figure it out with solarwinds scp.
I've copied the nxos files to another nexus i have and running the update from there.
I appreciate the help.
04-06-2022 07:45 AM
yes if that working for 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