Nexus 5020 upgrade iOS

Answered Question

Everyone need some help with Nexus 5020

I'm trying to upgrade the iOS software

Here is the problem, I can't seem to copy over the file to the Switch

I have tried these steps please let me know if its incorrect!

copy bootflash:

no go

Copy bootflash tftp:

no go

copy bootflash: filename

no go

I tried WINSCP

no

I have tried cisco device manager " busy network no route or snmpd is unresponsive "

no go

I'm not a networking person but trying to learn and can't seem to get the new bin file copyed over to the switch

Any help would be great

Thanks,

Ed

I have this problem too.
0 votes

Yah, just run the setup again, it will configure the base system for you if you skip items such as IP or System name it wont change them.

Once you have done that, try and run a cmd like ping... so #: ping xxx.xxx.xxx.xxx vrf management

If you can then ping try running the copy command again #: copy tftp:xxx.xxx.xxx.xxx/tftp_root/file.bin booflash:file.bin

Simplest thing to do would be to run #: setup

It will run you through the basic setup again, you can put the IP address in, and the GATEWAY in which will fill out the vfc context managment stuff for you.

Then once that is in, you do a copy tftp:10.x.x.x/n5000-uk9.kickstart.5.x.x.x.bin bootflash:n5000-uk9.kickstart.5.x.x.x.bin .

It will ask you what VRF to use, type management

It should then attempt to connect to your TFTP server.

If VRF MANAGEMENT is empty, it has no route out of the box. Are you connecting to this via SSH or on Console?

Correct Answer by Jerry Ye about 4 years 8 months ago

You can try to put this in first. If the switch takes the commands, do copy tftp://x.x.x.x bootflash: afterward.

conf t

vrf context management

0.0.0.0/0 y.y.y.y <- y.y.y.y is your default gateway/router IP address

HTH,

jerry

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (3 ratings)
Jon Marshall Sun, 08/21/2011 - 01:58

Ed

Firslty you can use any of  SCP/FTP/SFTP/TFTP to copy the image across. You need to able to ping the server that holds the copy of the file. Note also that if you want to copy the file from the server to the switch it would be -

copy tftp bootflash:

rather than

copy bootflash: tftp

see this doc for full details on how to upgrade Nexus software -

http://www.cisco.com/en/US/products/ps9670/products_configuration_example09186a0080b4b9dd.shtml

Jon

Jerry Ye Sun, 08/21/2011 - 08:57

Make sure you have a ":" after tftp, here is an example:

copy tftp: bootflash:

Also make sure your tftp server is running. With Nexus 5020, the source interface should be mgmt 0 via the management vrf. You can verify connectivity with ping source from the management interface:

ping x.x.x.x vrf management

HTH,

jerry

Jerry

The command did not but now I'm getting a new error

I'm able to ping the vrf management ( works )

new error

tftp get operation: failed: no route to host

On the laptop I'm running solorwinds and have

10.1.7.20X

Only one number higher then the switch

the Cisco 5020 mgmt port

10.1.7.20X

I'm able to ping the switch from the laptop no issue.

Thanks,

Ed

Jerry Ye Tue, 08/23/2011 - 08:51

Hm... Try this:

copy tftp://10.1.7.20x/ bootflash:

Then answer the question and put the vrf as management and correct file name.

If it doesn't work, post the following command output:

sh run vrf management

sh run int mgmt 0

Regards,

jerry

Jerry Ye Wed, 08/24/2011 - 07:30

Okay Ed, I guess something is not working on the show command. Basically, I need the following and here is my output:

vrf context management

  ip route 0.0.0.0/0 192.168.123.1

interface mgmt0

  ip address 192.168.123.151/24

Regards,

jerry

Correct Answer
Jerry Ye Thu, 08/25/2011 - 05:47

You can try to put this in first. If the switch takes the commands, do copy tftp://x.x.x.x bootflash: afterward.

conf t

vrf context management

0.0.0.0/0 y.y.y.y <- y.y.y.y is your default gateway/router IP address

HTH,

jerry

Correct Answer

Simplest thing to do would be to run #: setup

It will run you through the basic setup again, you can put the IP address in, and the GATEWAY in which will fill out the vfc context managment stuff for you.

Then once that is in, you do a copy tftp:10.x.x.x/n5000-uk9.kickstart.5.x.x.x.bin bootflash:n5000-uk9.kickstart.5.x.x.x.bin .

It will ask you what VRF to use, type management

It should then attempt to connect to your TFTP server.

If VRF MANAGEMENT is empty, it has no route out of the box. Are you connecting to this via SSH or on Console?

Correct Answer

Yah, just run the setup again, it will configure the base system for you if you skip items such as IP or System name it wont change them.

Once you have done that, try and run a cmd like ping... so #: ping xxx.xxx.xxx.xxx vrf management

If you can then ping try running the copy command again #: copy tftp:xxx.xxx.xxx.xxx/tftp_root/file.bin booflash:file.bin

Hidayat Khan Tue, 08/19/2014 - 05:58

 

I have the same problem, Trying to upload the licence file .lic to nx 9300 switch. Tried all ftp/scp/tftp, but no joy... pc/switch can ping each other but no file transfer. e.g TFTP error says,

Trying to connect to tftp server......

connection to server established.  (wait for few seconds)

TFTP get operation failed: Connection timeout.

 

If someone can advise on the above issue ?

 

Thanks

Actions

This Discussion