Nexus 5020 upgrade iOS

Answered Question
Aug 21st, 2011

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
Correct Answer by con.reilly@intel.com about 2 years 7 months ago

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

Correct Answer by con.reilly@intel.com about 2 years 7 months ago

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 2 years 7 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
Average 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

Edgar.Delgado@a... Sun, 08/21/2011 - 05:58

Jon,

I tired copy tftp bootflash:

then I get  -------> copy cannot access file ' /bootflash/tftp

I even tried using the device manager 4.2 and tried copying the files from here and get error " Device is busy "

????????

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

Edgar.Delgado@a... Mon, 08/22/2011 - 23:33

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

Edgar.Delgado@a... Tue, 08/23/2011 - 23:42

copy tftp://10.1.7.20x/ bootflash:

(works)

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

(tftp: bad context vrf)

sh run vrf management

(invaild command at ^ marker which points at " V " for vrf

sh run int mgmt 0

show the ip of the mgmt port 0

10.1.7.2xx

What I'm missing here ?

Thanks,

Ed

Edgar.Delgado@a... Wed, 08/24/2011 - 06:57

VRF-NAme     VRF-ID     State

default                   1         up

management         2          up

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

Edgar.Delgado@a... Thu, 08/25/2011 - 03:25

Jerry,

I did show run

vrf context management

its blank no infomation

interface mgmt0

ip address 10.1.x.XXX/16

Thx,

Ed

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

Edgar.Delgado@a... Fri, 08/26/2011 - 07:18

Will the command make any changes only to the vrf context management?

I don't want to scerw up the producation network with the change

Correct Answer
con.reilly@intel.com Fri, 08/26/2011 - 19:32

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
con.reilly@intel.com Fri, 08/26/2011 - 23:00

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

Edgar.Delgado@a... Fri, 08/26/2011 - 23:29

Everyone Thanks for the help and for the quick reply's

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.

This worked !!

THANKS !!!

Actions

Login or Register to take actions

This Discussion

Posted August 21, 2011 at 12:48 AM
Stats:
Replies:21 Avg. Rating:5
Views:4140 Votes:0
Shares:0
Tags: No tags.

Discussions Leaderboard

Rank Username Points
1 15,007
2 8,150
3 7,730
4 7,083
5 6,742
Rank Username Points
155
77
70
69
50