cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
18899
Views
5
Helpful
28
Replies

Nexus 5020 upgrade iOS

Edgar.Delgado
Level 1
Level 1

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

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

View solution in original post

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?

View solution in original post

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

View solution in original post

28 Replies 28

Jon Marshall
Hall of Fame
Hall of Fame

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

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 "

????????

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

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

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

Please post your full config here.

Regards,

jerry

I can't post the full config file

The system are secure

Sorry

Okay, post the following output:

show vrf

VRF-NAme     VRF-ID     State

default                   1         up

management         2          up

Can I see this command?

sh run | sec "vrf context"

invaild marker on sec

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

Jerry,

I did show run

vrf context management

its blank no infomation

interface mgmt0

ip address 10.1.x.XXX/16

Thx,

Ed

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco