Managing CMM Directory Content Using the USB Flash Drive
OmniSwitch AOS Release 6 Switch Management Guide July 2010 page 5-33
Using the USB Flash Drive
An Alcatel-Lucent certified USB flash drive can be connected the CMM and used to transfer images to
and from the flash memory on the switch. This can be used for upgrading switch code or backing up files.
Additionally, automatic code upgrades as well having the capability to boot from the USB flash drive for
disaster recovery purposes are also supported. 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.
Transferring Files Using USB
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 Upgrading Code Using USB
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 for an
OmniSwitch 9000 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 9000/working on the USB flash drive with all the proper image files.
3 -> usb enable
4 -> usb auto-copy enable
Product Family Name Auto-Upgrade Support Disaster-Recovery Support
OmniSwitch 6400 6400/working 6400/certified
OmniSwitch 6850 6850/working 6850/certified
OmniSwitch 6855 6855/working 6855/certified
OmniSwitch 9000/9000E 9000/working 9000/certified