User guide

Using the USB Flash Drive Managing CMM Directory Content
page 3-14 OmniSwitch AOS Release 8 Switch Management Guide May 2014
Using the USB Flash Drive
An Alcatel-Lucent certified USB flash drive can be connected to the switch 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 switch. For the automatic upgrades and disaster recovery the USB flash drive must be
configured with the proper directory structure 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/vcboot.cfg /uflash/vcboot.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 root directory 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 6860/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 vcboot.cfg file in the /flash/working directory will be updated or created
using the running setup. The switch will then reboot from the working directory applying the code
upgrade.
Product Family Name Auto-Copy Support Disaster-Recovery Support
OmniSwitch 6860 6860/working 6860/certified