Alcatel-Lucent OmniSwitch 9000 Guia De Configuração Rápida

Página de 44
32
Files and Directories
May 2007
How can I tell which directory the switch is 
currently using?
When you first boot the switch, the /flash/working directory is 
used; this allows you to save your initial configuration changes 
to the boot.cfg file. However, subsequent boots may result in 
your switch running from the /flash/certified directory. There-
fore, verifying the current running directory is a key step any 
time you are configuring or monitoring the switch.
View the current directory by entering the show running-
directory
 command. For example:
-> show running-directory
CONFIGURATION STATUS
Running CMM              : PRIMARY,
CMM Mode                 : DUAL CMMs,
Current CMM Slot         : A,
Running configuration    : WORKING,
Certify/Restore Status   : CERTIFY NEEDED
SYNCHRONIZATION STATUS
Flash Between CMMs       : NOT SYNCHRONIZED,
Running Configuration    : SYNCHRONIZED,
NIs Reload On Takeover   : ALL NIs
In this example, the switch is using the /flash/working direc-
tory.
Can I save changes to the Certified directory?
No. The /flash/certified directory is intended to store only 
tested, reliable configuration and image files. Configuration 
changes must be saved to the boot.cfg file in the 
/flash/working directory. Once those changes have been road-
tested, the contents of the /flash/working directory can be 
copied to the /flash/certified directory via the copy working 
certified
 command.
What happens when the switch boots?
During the boot process, the switch compares the contents of 
the /flash/working and /flash/certified directories. Based on 
this comparison, the switch determines which directory to use 
as its running software.
Working and Certified Are Identical
If the software in the /flash/working and /flash/certified 
directories is identical, the switch considers the software in 
both directories to be equally reliable. In this case, the switch 
will run from the /flash/working directory.
When the switch is running from the /flash/working directory 
software, configuration changes can be saved via the 
write memory command.
Working 
Directory
boot.cfg
jbase.img
jrelease.img
Etc.
Working 
Directory
boot.cfg
jbase.img
jrelease.img
Etc.
Certified 
Directory
boot.cfg
jbase.img
jrelease.img
Etc.
Certified 
Directory
boot.cfg
jbase.img
jrelease.img
Etc.
Working and Certified 
contents are identical.
The switch runs
from Working.