10-30-2024 03:38 AM
I was in the process for preparing for a nxos upgrade on a Nexus 3048 and ran the following:
switch(boot)# init system
I forgot to add the: check-filesystem
at the end of the command.
Now my loader looks like this:
loader> show sysconf
79 2 2 0 7 3 18 e7
28 7 12 20 0 0 0 0
c6 12 e1 65 ff ff ff 0
c6 12 e1 44
IP Config
IP Addr: 198.18.225.101
Addr Mask: 255.255.255.0
IP Default Gateway: 198.18.225.68
Serial Config
Speed : 9600
Word Length : 8
Stop Bits : 1
Parity : no
Misc Config
Version : 2
Modem Mode: 0
Partition : 2
loader>
loader> dir
bootflash:
lost+found
loader>
The real problem (related to bootflash issue?) is that the set command does not seems to be working so I can not load a kickstart from tftp:
loader> help
? Print the command list
boot Boot an image
bootmode set bootmode
dir List the directory contents or specific file
help Print the command list or the specific command usage
reboot Reboot the system
resetbioscmos Reset bios info to factory defaults
resetcmos Reset CMOS to factory defaults
serial Serial console settings
set Set network configuration
show Show loader configuration
loader> show
error: Invalid argument. Please do "help <cmd_name>" to get the usage.
loader> set
loader> help set
usage: set { ip | gw } addr [mask], where:
ip: set mgmt0 IP address
gw: set default gateway
addr: IP address
mask: IP address mask
Description: Save IP/default-gateway configuration parameters
in non-volative memory
loader> set ip abcd
loader> set ip 1234
loader>
I'm wondering what to do and if I should use resetcmos or resetbioscmos ?
Ping to the .101 on the mgmt 0 shows incomplete arp
10-30-2024 03:47 AM
Not sure how the upgrade process went well before ?
after upgrade did you get on to loader prompt.
best is recovery first, suggest using USB stick load the nexus os and boot easy rather tftp. (if you can avoide)
loader> boot usb1:n3000x.xbin
switch(boot)#copy usb1:n3000x.xbin bootflash:n3000x.xbin
Verify that both images are in the bootflash using the command:
switch(boot)#dir bootflash:
See if the switch is able to boot up
switch(boot)#load bootflash:/n3000x.xbin
nexus intial setup option give you -
switch#show running-config
reload the switch
switch#reload
still like to go TFTP then follow below :
10-31-2024 02:52 AM
The questions are:
1. Why does bootflash look like this and is this why the set command in loader appears to be broken?
loader> dir
bootflash:
lost+found
loader>
loader> set ip abcd
loader> set ip 1234
loader>
2. Is there a way to get the set command working again?
3. What will resetcmos and resetbioscmos do for me or not do for me in relation to broken set and odd looking bootflash with apprently no files?
Thanks
11-03-2024 06:17 PM
I still have open questions.
Why is the Nexus 3048 that had an INIT, behaving this way?
loader> dir
bootflash:
lost+found
loader>
loader> set ip abcd
loader> set ip 1234
loader>
How can I get "set" back so I can tftp boot from a kickstart?
What will happen if I execute resetcmos or resetbioscmos from loader?
11-04-2024 07:05 AM
what commands used not sure, can you post complete boot logs.
11-05-2024 03:24 AM
Hi BB,
The commands I issued are here:
loader> dir
bootflash:
lost+found
loader>
loader> set ip abcd
loader> set ip 1234
loader>
The problem appears to me that the set command is not working because it no longer recognizes bad input.
When I configure the mgmt0 correctly with set and try boot tftp the networking does not work.
Have you ever seen a dir as above return nothing in bootflash?
Can I possibly correct this with a resetcmos or resetbioscmos?
Is there any documentation as to what resetcmos and resetbioscmos do?
Thanks
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