08-21-2011 12:48 AM - edited 03-07-2019 01:48 AM
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
Solved! Go to Solution.
08-25-2011 05:47 AM
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
08-26-2011 07:32 PM
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?
08-26-2011 11:00 PM
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
08-21-2011 01:58 AM
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
08-21-2011 05:58 AM
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 "
????????
08-21-2011 08:57 AM
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
08-22-2011 11:33 PM
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
08-23-2011 08:51 AM
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
08-23-2011 11:42 PM
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
08-24-2011 06:01 AM
Please post your full config here.
Regards,
jerry
08-24-2011 06:04 AM
I can't post the full config file
The system are secure
Sorry
08-24-2011 06:12 AM
Okay, post the following output:
show vrf
08-24-2011 06:57 AM
VRF-NAme VRF-ID State
default 1 up
management 2 up
08-24-2011 07:05 AM
Can I see this command?
sh run | sec "vrf context"
08-24-2011 07:15 AM
invaild marker on sec
08-24-2011 07:30 AM
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
08-25-2011 03:25 AM
Jerry,
I did show run
vrf context management
its blank no infomation
interface mgmt0
ip address 10.1.x.XXX/16
Thx,
Ed
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