Command Reference Guide

Fabric OS Command Reference 1081
53-1002746-01
usbStorage
2
usbStorage
Manages data files on an attached USB storage device.
SYNOPSIS usbstorage [-e | --enable]
usbstorage [-d | --disable]
usbstorage [-l | --list]
usbstorage [-r | --remove area target]
usbstorage [-h | --help]
DESCRIPTION Use this command to control a USB device attached to the Active CP. When the USB device is enabled,
other applications, such as supportSave, firmwareDownload, or configDownload/cfgUpload can
conveniently store and retrieve data from the attached storage device. Refer to the help pages for these
commands for specific information on how the USB device is accessed by each application.
NOTES The execution of this command is subject to Virtual Fabric or Admin Domain restrictions that may be in
place. Refer to Chapter 1, "Using Fabric OS Commands" and Appendix A, "Command Availability" for
details.
This command is available only on the Active CP.
OPERANDS This command has the following operands:
-e | --enable
Enables the USB device. The USB device must be enabled before the list and
remove functions are available.
-d | --disable
Disables an enabled USB device. This command prevents access to the device
until it is enabled again.
-r | --remove area target
Removes a target in a specified application storage area. Valid areas are:
firmware, support, config, or firmwarekey. A specified area must be followed by a
target. Any existing file in a given application directory can be specified as a
target. This command removes all data associated with the specified target.
-l | --list
Lists the content of the USB device up to two levels down from the root directory.
-h | --help
Displays the command usage.
EXAMPLES To enable an attached USB device:
switch:admin> usbstorage -e
USB storage enabled