Znyx Networks bh5700 Manuale Utente

Pagina di 359
zbootcfg 
NAME
zbootcfg
 − 
Modifies the boot parameters of the OpenArchitect switch.
SYNOPSIS
zbootcfg -a | -d <device number> [<boot_string>]
DESCRIPTION
zbootcfg is used to display or modify the boot parameters on the switch. The boot parameters 
are utilized by the minof boot loader application to indicate on which device to find a boot image. 
Care should be taken when changing the boot string. Incorrect procedures can result in a switch 
that cannot boot.
-d <device_number>
Three ROM boot devices are available in the switch. The 
factory-shipped boot device is 1. The following describes each 
boot device:
-d 1 Boot image located at offset 0 in the application flash 
1. This is the factory-shipped location of the primary 
OpenArchitect image.
-d 2 Loads an image located at offset 0 in the application 
flash 2. This is the factory-shipped location for the 
alternate OpenArchitect image.
Any characters after the -d <dev> parameters are saved in flash memory and passed unchanged 
to the booting kernel.
OPTIONS
-a
Displays the current boot string. The default factory 
shipping string is “dev1.”
-d <dev>
Specifies the ROM device from which to boot. The 
<dev> value must be the number 1 or 2 corresponding to 
application flash 1 or application flash 2, respectively.
<boot string>
Optionally, a boot string may be provided that 
is passed to the booting kernel. All characters
 after the -d 
<dev> are passed unchanged to the booting kernel.
EXAMPLES
The following example illustrates a command for making the image boot from the second 
Ethernet Switch Blade User's Guide
release  3.2.2j
page  197