Specifications
52 Files and Directories March 2005
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 switch’s current running 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 : 1,
Running configuration : WORKING,
Certify/Restore Status : CERTIFY NEEDED
SYNCHRONIZATION STATUS
Flash Between CMMs : SYNCHRONIZED,
Running Configuration : NOT AVAILABLE,
Stacks Reload on Takeover: ALL STACKs (SW
Activation)
In this example, the switch is using the /flash/working direc-
tory. For more information on the show running-directory
command output, refer to the “CMM Commands” chapter in
the OmniSwitch CLI Reference Guide.
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 are completely 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.
Working
Directory
boot.cfg
Hbase.img
Hrelease.img
Etc.
Working
Directory
boot.cfg
Hbase.img
Hrelease.img
Etc.
Certified
Directory
boot.cfg
Hbase.img
Hrelease.img
Etc.
Certified
Directory
boot.cfg
Hbase.img
Hrelease.img
Etc.
Working and Certified
contents are identical.
The switch runs
from Working.