Mellanox MLNX-OS® User Manualfor SX1018HP Ethernet Managed Blade Switch
Rev 1.6.9
Mellanox Technologies
53
Mellanox Technologies Confidential
For further information, please refer to Mellanox MLNX-OS Command Reference Guide.
4.7 USB Support
4.7.1 Accessing a USB Device for Read/Write
MLNX-OS can access USB devices attached to switch systems. USB devices are automatically
recognized and mounted upon insertion. To access a USB device for reading or writing a file, you
need to provide the path to the file on the mounted USB device in the following format:
scp://username:password@hostname/var/mnt/usb1/<file name>
Examples:
T
o fetch an image from a USB device, run the command:
To save log file ‘3’ to a USB device under the name
test_log_f
using the logging files
command, run (in Enable or Config mode):
To safely remove the USB and to flush the cache, after writing (log files, for example) to a
USB, use the
usb eject
command (in Enable or Config mode).
For further information, please
refer to Mellanox MLNX-OS Command Reference Guide.
4.8 Diagnostics
4.8.1 Retrieving Return Codes when Executing Remote Commands
To stop the CLI and set the system to send return errors if some commands fail, perform the
following:
Step 1. Connect to the system from the host SSH.
Step 2. Add the -h parameter after the cli (as shown in the example below) to notify the system to halt
on failure and pass through the exit code.
4.9 mDNS
Multicast DNS (mDNS) protocol is used by the SM HA to deliver control information between
the InfiniBand nodes via the management interface.
This is a test email.
==== Done.
“image fetch scp://username:password@hostname/var/www/html/<image_name>”
switch > enable
switch # logging files upload 3 scp://username:password@hostname/var/
mnt/usb1/test_log_f
switch #
switch (config) # usb eject
switch (config) #
ssh <username>@<hostname> cli -h '"enable" "show interfaces brief"'










