--- title: "Mounting or unmounting a USB device using the CLI" slug: "mounting-or-unmounting-a-usb-device-using-the-cli-5" tags: ["Product Usage", "CMS 11.x", "EX 11.x", "FX 11.x", "AX 11.x", "NX 11.x", "IVX 11.x", "Customer", "Network Security"] updated: 2026-09-07T20:58:12Z published: 2026-09-07T20:58:12Z canonical: "docs.trellix.com/mounting-or-unmounting-a-usb-device-using-the-cli-5" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Mounting or unmounting a USB device using the CLI Use the commands in this topic to manually mount or unmount a USB device to the attached appliance. Trellix recommends that you physically remove the USB device from the port. Use the `media usb mount` command before you attach the drive, and use the `media usb eject` command after you unplug it. > [!NOTE] > Note > > The `media usb eject` command will have no effect if the USB device is not mounted. **Prerequisites** - Admin access **To mount a USB device:** 1. Go to CLI configuration mode: ``` hostname > enable hostname # configure terminal ``` 2. Mount the USB device to the attached appliance: ``` hostname (config) # media usb mount ``` **To unmount a USB device:** 1. Go to CLI configuration mode: ``` hostname > enable hostname # configure terminal ``` 2. Unmount the USB device from the attached appliance: ``` hostname (config) # media usb eject ```