add factory default fail info and admons to 6650

This commit is contained in:
Jon Sands 2022-08-06 09:43:43 -04:00
parent 345a129987
commit c17f3f5dc9
1 changed files with 18 additions and 9 deletions

View File

@ -8,14 +8,7 @@ If you haven't already, visit the [Brocade Overview](brocade-overview.md) page t
Power on the switch while watching your serial terminal - start smashing the `b` key until you're dropped into the bootloader prompt, which looks like `ICX6650-boot>` . If you missed the prompt and it boots the OS instead, pull power and try again.
Now at the boot prompt, we tell the switch to clear all current configs and old keys, so it boots into a fresh state:
```
factory set-default
```
To confirm this action, you must send CAPITAL `Y` - sending a lowercase `y` will just make it abort.
Now we need to give the bootloader a temporary IP on your network, as well as supply the IP of your TFTP server where it can find your files. Replace the example IPs with your own. This IP is only going to be used temporarily by the bootloader. We'll also tell it the filename & path of the firmware image. You should not need to alter this:
At the boot prompt, we need to give it a temporary IP in the subnet of your network, so it can talk to your TFTP server. This IP will not be used again after it leaves the bootloader. Replace the IP in the example below with an unused IP on your subnet. We also need to supply the IP of your TFTP server, and the filenames of the new software:
```
setenv ipaddr 192.168.1.50
@ -31,12 +24,28 @@ Now we can tell it to flash the new OS and bootloader:
update_primary
update_uboot
```
After a couple minutes, it should complete. Now we clear the temporary IP, then reboot the switch into the OS:
After a couple minutes, it should complete. Now we clear the temporary IP, then clear out any old configs and passwords with a factory reset:
```
setenv ipaddr
saveenv
factory set-default
```
To confirm the factory reset action, you must send CAPITAL `Y` - sending a lowercase `y` will just make it abort. Once finished, reset the switch and let it boot fully to continue:
```
reset
```
??? info "If you get "factory set-default is not a valid command""
If you get an error stating `factory set-default` is not a valid command, this means your switch has a very old bootloader. In that case since we just flashed the latest bootloader already, we just have to tell the switch to reset to load it. Then in the new bootloader the command will work:
```
reset
#hit b a bunch so it drops into the bootloader again
#now it's booted the latest bootloader, so the command will work:
factory set-default
#you must send CAPITAL Y, not lowercase y
reset
```
Let the switch boot fully and move to the next section
## Initial Configuration