User guide

CMM Files Managing CMM Directory Content
page 4-4 OmniSwitch AOS Release 7 Switch Management Guide March 2015
CMM Software Directory Structure
The directory structure that stores the image and configuration files is divided into multiple parts:
The certified directory contains files that have been certified by an authorized user as the default files
for the switch. Should the switch reboot, it would reload the files in the certified directory to reactivate
its functionality. Configuration changes CAN NOT be saved directly to the certified directory.
The working directory contains files that may or may not be altered from the certified directory. The
working directory is a holding place for new files. Files in the working directory must be tested before
committing them to the certified directory. You can save configuration changes to the working direc-
tory.
User-defined directories are any other directories created by the user. These directories are similar to
the working directory in that they can contain image and configuration files. These directories can have
any name and can be used to store additional switch configurations. Configuration changes CAN be
saved directly to any user-defined directory.
The RUNNING DIRECTORY is the directory that configuration changes will be saved to. Typically
the RUNNING DIRECTORY is the directory that the switch booted from, however, any directory can
be configured to be the RUNNING DIRECTORY.
The RUNNING CONFIGURATION is the current operating configuration of the switch obtained from
the directory the switch booted from in addition to any additional configuration changes made by the
user. The RUNNING CONFIGURATION resides in the switch’s RAM.
Where is the Switch Running From?
When a switch boots the RUNNING CONFIGURATION will come from either the certified, working, or
a user-defined directory. A switch can be rebooted to run from any directory using the reload from
command.
At the time of a normal boot (cold start or by using the reload command) the switch will do the following:
7.1.1 - Reboot from CERTIFIED directory.
7.2.1 - Reboot from CERTIFIED directory if contents (images and boot.cfg) are different from the
RUNNING DIRECTORY. If contents are the same the switch will reboot from the RUNNING
DIRECTORY.
If the RUNNING DIRECTORY is the certified directory, you will not be able to save any changes made
to the RUNNING CONFIGURATION. If the switch reboots, any configuration changes will be lost. In
order to save configuration changes the RUNNING DIRECTORY cannot be the certified directory.
You can determine where the switch is running from by using the show running-directory command
described in “Show Currently Used Configuration” on page 4-16.
Software Rollback Feature
The directory structure inherent in the CMM software allows for a switch to return to a previous, more
reliable version of image or configuration files.
Initially, when normally booting the switch, the software is loaded from the certified directory. This is the
repository for the most reliable software. When the switch is booted, the certified directory is loaded into
the RUNNING CONFIGURATION.