USB device management

USB device management


1.    To enable usb storage device auto detection

     sonic(config)# usb enable

2. To mount all available usb partitions

sonic-cli# usb mount

3.    To safely un-mount all mounted usb partitions

sonic-cli# usb un-mount

4.    To view the usb partitions which have been detected and successfully mounted

sonic# show usb

5.    To view the list of usb attached storage media that have been detected

sonic# show usb devices

6.    To show the list of partitions available in the usb attached storage media

sonic# show usb partitions



    • Related Articles

    • Management Interface Configuration (SONiC)

      Configure the management interface (eth0) for network administration in SONiC. Default Configuration: By default, eth0 uses DHCP to dynamically obtain an IP address from a DHCP server. Static IP Configuration: Command Line: sudo config interface ip ...
    • How to Install SONiC from USB via ONIE?

      Topology: Guidelines: Please note that ONIE does not support the NTFS file system. Procedure: 1. Transfer the SONiC installer image file to a USB flash drive and rename it to onie-installer.bin 2. Reboot the switch and connect the USB drive to the ...
    • How to do Management interface Configuration?

      At root mode Enabling DHCP dhclient eth0 Manual ip configuration config interface ip add eth0 ipaddress/subnetmask gateway Example:-config interface ip add eth0 192.168.1.1/24 192.168.1.100
    • What is the Default Login to SONiC ?

      All SONiC devices support both the serial console-based login and the SSH based login by default. The default credential (if not modified at image build time) for login is admin/YourPaSsWoRd. In case of SSH login, users can login to the management ...
    • What are some Basic Monitoring commands ?

      show timezone-list: Displays the full list of available timezones. show boot: Shows the current OS image, the image to be loaded on the next reboot, and lists all available images installed on the device. show clock: Displays the current date and ...