29.04.2019 Views

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.

Using the USB Flash Drive<br />

Managing CMM Directory Content<br />

Using the USB Flash Drive<br />

An Alcatel-Lucent certified USB flash drive can be connected to the switch and used to transfer images to<br />

and from the flash memory on the switch. This can be used for upgrading switch code, backing up files or<br />

recovering a failed switch. For the automatic upgrades and disaster recovery the USB flash drive must be<br />

configured with the proper directory structure as noted in the table below. Once the flash drive is properly<br />

mounted a directory named /uflash is automatically created. Files can then be copied to and from the /<br />

uflash directory.<br />

The directories below must be created on the USB flash drive for feature support and in lower case.<br />

Product Family Name Auto-Copy Support Disaster-Recovery Support<br />

Omni<strong>Switch</strong> 6860 6860/working 6860/certified<br />

Transferring Files Using a USB Flash Drive<br />

The following is an example of how to mount and transfer files using the USB flash drive using the usb<br />

and mount commands.<br />

-> usb enable<br />

-> mount /uflash<br />

-> cp /flash/working/vcboot.cfg /uflash/vcboot.cfg<br />

-> umount /uflash<br />

Once the USB flash drive is mounted most common file and directory commands can be performed on the<br />

/uflash directory.<br />

Automatically Copying Code Using a USB Flash Drive<br />

The switch can be configured to automatically mount and copy image files from the USB flash drive as<br />

soon as it’s connected. This can be used to automatically upgrade code. In order to prevent an accidental<br />

upgrade, a file named aossignature must be stored on the USB flash drive root directory as well as having<br />

a directory with the same name as the product family as noted in the table above. The following is an<br />

example using the usb auto-copy command<br />

Note: The aossignature file can be an empty text file.<br />

1 Create a file named aossignature in the root of the USB flash drive.<br />

2 Create a directory named 6860/working on the USB flash drive with all the proper image files.<br />

3 -> usb enable<br />

4 -> usb auto-copy enable<br />

5 Connect the USB flash drive to the CMM; the images will be validated and copied to the /flash/working<br />

directory of the CMM and the vcboot.cfg file in the /flash/working directory will be updated or created<br />

using the running setup. The switch will then reboot from the working directory applying the code<br />

upgrade.<br />

page 3-14 Omni<strong>Switch</strong> <strong>AOS</strong> Release 8 <strong>Switch</strong> <strong>Management</strong> <strong>Guide</strong> May 2014

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!