Znyx Networks bh5700 Switch User Manual


 
Chapter 17 Restoring the Factory Default
Configuration
You should use this procedure if the contents in Flash Device 1 are corrupt and you need to
restore the switch to the factory default configuration. By restoring the factory default
configuration, you will overwrite your main file system in Flash Device 1 and lose all previous
configuration changes.
IMPORTANT: Make sure that Surviving Partner is not running before using zflash. The
delays incurred while zflash writes the flash can cause the Surviving Partner daemons to
think there is a failure, resulting in link oscillation.
1. Connect through the console port. For more information, see Chapter 10, Connecting to
the Ethernet Switch Blade.
2. When you see the number counter appear after the zmonitor ... banner, press any key
on the console keyboard to enter the zmon application.
3. At the monitor prompt, type:
boot:2
You should see the counter again, but the system should boot into the secondary kernel.
NOTE: If you have difficulties booting into Flash Device 2, the Flash Devices may
have failed. Return the switch for repair.
Use the zflash command to write the new OpenArchitect image into the first flash
device:
Base Interface: zflash -d 1 rdr6000.zImage.initrd
Fabric Interface: zflash –d 1 rdr7100.zImage.initrd
CAUTION: DO NOT program flash 2, since currently this is your only bootable image.
Ethernet Switch Blade User's Guide release 3.2.2j page 188