User guide
Managing CMM Directory Content Using the USB Flash Drive
OmniSwitch AOS Release 7 Switch Management Guide March 2015 page 4-21
Using the USB Flash Drive
An Alcatel-Lucent certified USB flash drive can be connected to the CMM and used to transfer images to
and from the flash memory on the switch. This can be used for upgrading switch code, backing up files or
recovering a failed CMM. For the automatic upgrades and disaster recovery the USB flash drive must be
configured with the proper directory structure, depending on the platform, as noted in the table below.
Once the flash drive is properly mounted a directory named /uflash is automatically created. Files can then
be copied to and from the /uflash directory.
The directories below must be created on the USB flash drive for feature support and in lower case.
Transferring Files Using a USB Flash Drive
The following is an example of how to mount and transfer files using the USB flash drive using the usb
and mount commands.
-> usb enable
-> mount /uflash
-> cp /flash/working/boot.cfg /uflash/boog.cfg
-> umount /uflash
Once the USB flash drive is mounted most common file and directory commands can be performed on the
/uflash directory.
Automatically Copying Code Using a USB Flash Drive
The switch can be configured to automatically mount and copy image files from the USB flash drive as
soon as it’s connected. This can be used to automatically upgrade code. In order to prevent an accidental
upgrade, a file named aossignature must be stored on the USB flash drive as well as having a directory
with the same name as the product family as noted in the table above. The following is an example using
the usb auto-copy command
Note: The aossignature file can be an empty text file.
1 Create a file named aossignature in the root of the USB flash drive.
2 Create a directory named 10000/working on the USB flash drive with all the proper image files.
3 -> usb enable
4 -> usb auto-copy enable
5 Connect the USB flash drive to the CMM; the images will be validated and copied to the /flash/work-
ing directory of the CMM and the boot.cfg file in the /flash/working directory will be updated or created
Product Family Name Auto-Copy Support Disaster-Recovery Support
OmniSwitch 10K 10000/working 10000/working
10000/certified
OmniSwitch 6900 6900/working 6900/working
6900/certified