OS6860(E)_AOS_8.1.1.R01_Switch_Management_Guide
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
CMM Files<br />
Managing CMM Directory Content<br />
CMM Software Directory Structure<br />
The directory structure that stores the image and configuration files is divided into multiple parts:<br />
• The certified directory contains files that have been certified by an authorized user as the default files<br />
for the switch. Should the switch reboot, it would reload the files in the certified directory to reactivate<br />
its functionality. Configuration changes CAN NOT be saved directly to the certified directory.<br />
• The working directory contains files that may or may not be altered from the certified directory. The<br />
working directory is a holding place for new files. Files in the working directory must be tested before<br />
committing them to the certified directory. You can save configuration changes to the working directory.<br />
• User-defined directories are any other directories created by the user. These directories are similar to<br />
the working directory in that they can contain image and configuration files. These directories can have<br />
any name and can be used to store additional switch configurations. Configuration changes CAN be<br />
saved directly to any user-defined directory.<br />
• The RUNNING DIRECTORY is the directory that configuration changes will be saved to. Typically<br />
the RUNNING DIRECTORY is the directory that the switch booted from, however, any directory can<br />
be configured to be the RUNNING DIRECTORY.<br />
• The RUNNING CONFIGURATION is the current operating configuration of the switch obtained from<br />
the directory the switch booted from in addition to any additional configuration changes made by the<br />
user. The RUNNING CONFIGURATION resides in the switch’s RAM.<br />
Where is the <strong>Switch</strong> Running From?<br />
When a switch boots the RUNNING CONFIGURATION will come from either the certified, working, or<br />
a user-defined directory. A switch can be rebooted to run from any directory using the reload from<br />
command.<br />
At the time of a normal boot (cold start or by using the reload command) the switch will reboot from the<br />
CERTIFIED directory.<br />
If the RUNNING DIRECTORY is the certified directory, you will not be able to save any changes made<br />
to the RUNNING CONFIGURATION. If the switch reboots, any configuration changes will be lost. In<br />
order to save configuration changes the RUNNING DIRECTORY cannot be the certified directory.<br />
You can determine where the switch is running from by using the show running-directory command<br />
described in “Show Currently Used Configuration” on page 3-13.<br />
Software Rollback Feature<br />
The directory structure inherent in the CMM software allows for a switch to return to a previous, more<br />
reliable version of image or configuration files.<br />
Initially, when normally booting the switch, the software is loaded from the certified directory. This is the<br />
repository for the most reliable software. When the switch is booted, the certified directory is loaded into<br />
the RUNNING CONFIGURATION.<br />
Changes made to the RUNNING CONFIGURATION will immediately alter switch functionality.<br />
However, these changes are not saved unless explicitly done so by the user using the write memory<br />
command. If the switch reboots before the RUNNING CONFIGURATION is saved, then the certified<br />
directory is reloaded to the RUNNING CONFIGURATION and configuration changes are lost.<br />
page 3-4 Omni<strong>Switch</strong> <strong>AOS</strong> Release 8 <strong>Switch</strong> <strong>Management</strong> <strong>Guide</strong> May 2014