cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
215
Views
0
Helpful
5
Replies

set and bootflash issue on Nexus 3048 after switch(boot)# init

Greg Focaccio
Level 1
Level 1

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

 

5 Replies 5

balaji.bandi
Hall of Fame
Hall of Fame

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 :

https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus9000/sw/6-x/troubleshooting/guide/b_Cisco_Nexus_9000_Series_NX-OS_Troubleshooting_Guide/b_Cisco_Standalone_Series_NX-OS_Troubleshooting_Guide_chapter_01.html

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Greg Focaccio
Level 1
Level 1

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 

Greg Focaccio
Level 1
Level 1

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?

Greg Focaccio
Level 1
Level 1

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

 

 

Review Cisco Networking for a $25 gift card