HP Mellanox SX1018 Mellanox MLNX-OS® User Manualfor SX1018HP Ethernet - Page 53
USB Support, Diagnostics
View all HP Mellanox SX1018 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 53 highlights
Rev 1.6.9 This is a test email. ==== Done. 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/ Examples: To fetch an image from a USB device, run the command: "image fetch scp://username:password@hostname/var/www/html/" 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): switch > enable switch # logging files upload 3 scp://username:password@hostname/var/ mnt/usb1/test_log_f switch # 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). switch (config) # usb eject switch (config) # 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. ssh @ cli -h '"enable" "show interfaces brief"' 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. Mellanox Technologies 53 Mellanox Technologies Confidential