eject usb

eject usb-device


Ensures that USB 2.0 storage device can be safely removed from the switch.

Syntax Description

This command has no arguments or variables.



Usage Guidelines

After the switch writes to a USB 2.0 storage device, and before you can view the contents on the device, you must ensure it is safe to remove the device from the switch. Use this command to prepare the device for removal. After you run this command, you can manually remove the device.

If you have configured the configure debug core-dumps command to write files to the device that you are trying to eject, you are reminded to select another location to write the bebug files to:
Note: The destination of debug core dump is still configured to memorycard.
If a memory card will not be present, it is recommended to use
"configure debug core-dumps" to change the core dump destination.

For more information about removing a USB 2.0 storage device, see the hardware documentation.

To access and read the data on the card, use a PC with appropriate hardware such as a compact flash reader/writer and follow the manufacturer‘s instructions to access the compact flash card and read the data.


The following command prepares a compact flash card or USB 2.0 storage device to be removed from the switch:

# eject usb


This command was first available in ExtremeXOS 11.1.

Support for USB 2.0 storage devices was added in ExtremeXOS 12.5.3.

The memorycard was deprecated in ExtremeXOS 30.7.

Platform Availability

This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, X870, 5320, 5420, and 5520 series switches.