Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Nexus 5020 upgrade iOS

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

3 ACCEPTED SOLUTIONS

Accepted Solutions
Cisco Employee

Nexus 5020 upgrade iOS

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

New Member

Nexus 5020 upgrade iOS

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?

New Member

Nexus 5020 upgrade iOS

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

23 REPLIES
Hall of Fame Super Blue

Nexus 5020 upgrade iOS

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

New Member

Re: Nexus 5020 upgrade iOS

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 "

????????

Cisco Employee

Nexus 5020 upgrade iOS

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

New Member

Re: Nexus 5020 upgrade iOS

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

Cisco Employee

Nexus 5020 upgrade iOS

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

New Member

Nexus 5020 upgrade iOS

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

Cisco Employee

Nexus 5020 upgrade iOS

Please post your full config here.

Regards,

jerry

New Member

Nexus 5020 upgrade iOS

I can't post the full config file

The system are secure

Sorry

Cisco Employee

Nexus 5020 upgrade iOS

Okay, post the following output:

show vrf

New Member

Nexus 5020 upgrade iOS

VRF-NAme     VRF-ID     State

default                   1         up

management         2          up

Cisco Employee

Nexus 5020 upgrade iOS

Can I see this command?

sh run | sec "vrf context"

New Member

Nexus 5020 upgrade iOS

invaild marker on sec

Cisco Employee

Nexus 5020 upgrade iOS

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

New Member

Nexus 5020 upgrade iOS

Jerry,

I did show run

vrf context management

its blank no infomation

interface mgmt0

ip address 10.1.x.XXX/16

Thx,

Ed

Cisco Employee

Nexus 5020 upgrade iOS

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

New Member

Nexus 5020 upgrade iOS

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

Cisco Employee

Nexus 5020 upgrade iOS

It will only do the change in the management VRF.

New Member

Nexus 5020 upgrade iOS

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?

New Member

Nexus 5020 upgrade iOS

I'm using a laptop connecting via console cable.

New Member

Nexus 5020 upgrade iOS

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

New Member

Nexus 5020 upgrade iOS

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 !!!

New Member

 I have the same problem,

 

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

New Member

Resolved by ourself!

Resolved by ourself!

8530
Views
0
Helpful
23
Replies