usb

Enables or disables an attached USB device. The device is inaccessible until it is enabled.

Syntax

usb { on | off }

Parameters

on
Turns the USB device on.
off
Turns the USB device off.

Modes

Privileged EXEC mode

Usage Guidelines

This command is executed on the local device. A device reload automatically turns the USB device off.

This command is supported only on the local device.

Examples

To enable a USB device attached to the local device:

device# usb on
 
USB storage enabled

To disable a USB device attached to the local device:

device# usb off
 
USB storage disabled