Updating Port Description on Mellanox Switches like QM9700

Updating Port Description on Mellanox Switches like QM9700

Objective

To update the description for multiple InfiniBand (IB) ports on a Mellanox QM9700 series switch using the web interface.

Prerequisites

  • Administrative access to the Mellanox QM9700 switch's web interface.

  • A pre-prepared list of commands with the correct interface numbers and desired descriptions.

  • A web browser to access the switch management interface.

Procedure

  1. Prepare the Configuration Commands:

    • Using a text editor (like Notepad as shown in the fourth screenshot), create a list of the commands required to update the port descriptions.

    • For each port, you will need a set of three commands:

      • interface ib <slot>/<port>: To enter the configuration mode for the specific InfiniBand port.

      • description "to <destination_device-port>": To set the new description for the interface. Enclose the description in double quotes.

      • exit: To exit the configuration mode for that specific interface.

    • Example from screenshot:

      Generated code

      interface ib 1/31/1 description "to T10PHGXSPSW08-P19/1" exit interface ib 1/31/2 description "to T10PHGXSPSW08-P19/2" exit

       

      Use code with caution.

    • Prepare this for all the ports you intend to update.

  2. Log in to the Switch Web Interface:

    • Open a web browser and navigate to the IP address of your Mellanox switch (e.g., https://10.152.15.55 as indicated in the first screenshot).

    • Log in with your administrative credentials.

  3. Navigate to the CLI Execution Page:


    • In the left-hand navigation pane, click on Configurations.

    • Under the "Configurations" menu, select "Execute CLI commands"

  4. Execute the CLI Commands:

    • Copy the commands you prepared in Step 1 from your text editor.

    • Click the "Execute CLI commands" button.

  5. Save the Running Configuration:


    • The changes made are now active but are not persistent and will be lost on a reboot. To save them permanently, you must save the running configuration to the startup configuration.

    • In the left-hand navigation pane, navigate to Configurations -> Configurations.

    • You will see the current configuration file, marked as (not saved: view running config), as shown in the third screenshot.

    • Under the "Active Configuration" section, click the Save button.

    • This action saves the current running configuration to the active configuration file, ensuring your changes are persistent across reboots.

  6. Verification (Optional but Recommended):

    • To verify, you can either view the running configuration from the web interface or re-run a show interface ib <slot>/<port> command for one of the updated ports in the CLI execution window to check if the description has been updated.

    • Related Articles

    • How to Fetch Transceiver Details of All Ports in an InfiniBand QM9700 Switch

      Overview On NVIDIA/Mellanox QM9700 InfiniBand switches, you may need to view the transceiver details (e.g., vendor, part number, and serial number) for connected optical modules or cables. This can be useful for troubleshooting, inventory tracking, ...
    • Mapping mlx5_x Names to Actual InfiniBand Ports

      Purpose In large GPU/AI clusters, each compute node often has multiple InfiniBand (IB) Host Channel Adapters (HCAs). On Linux, these HCAs appear as mlx5_x devices. To troubleshoot connectivity or performance issues, it is essential to map: mlx5_x ...
    • Fixing "Cable Data Invalid EEPROM" Error on NVIDIA QM9700 InfiniBand Switch

      Issue On NVIDIA QM9700 InfiniBand switches, some ports may appear down and show an error such as: This issue is often caused by outdated CPLD firmware and can be resolved by updating the CPLD version on the switch. Root Cause The EEPROM error is ...
    • How to Collect InfiniBand Transceiver Temperature (Non-Root Method)

      1. Purpose This document explains how to collect InfiniBand (IB) transceiver (QSFP module) temperature from servers using the Linux sysfs hwmon interface without requiring root privileges. This method applies to systems using Mellanox / NVIDIA ...
    • How to Upgrade Mellanox switch OS

      Steps to Upgrade Mellanox -OS Login to the WEB GUI The switch will pop up with the current version of the OS Open the https://nvcrm.my.site.com/npnportal/s/ Nvidia Partner Network portal and Navigate to the following Additional Resources>Enterprise ...
    • Popular Articles

    • CP Plus Camera and NVR Configuration

      NVR Configuration The CP Plus Pro Series of NVRs have been meticulously designed for providing you with upgraded performance and higher recording quality in your IP video surveillance solution. The robust processor that has been inculcated in this ...
    • Kerberos Authentication – Overview

      What is Kerberos? Kerberos is a secure authentication method used in our Active Directory (AD) environment (mbuzztech.com). It allows users to: Access multiple systems without re-entering passwords (Single Sign-On – SSO) Log in once Where We Use It ...
    • How to Remove and Reinstall NVIDIA Drivers on Ubuntu

      This article provides step by step guide to completely remove existing NVIDIA drivers and reinstall specific version of the NVIDIA driver on the Ubuntu system Prerequisites Administrative (sudo) access to the Ubuntu system. Internet access to ...
    • Personal Computers and Servers - Classification and Point of Contact

      We can classify the computers that MBUZZ handles based on their form-factor as below: Tower Workstations, Desktops, Gaming PCs and SFF (Small form factor) PCs fall under this category. These are computers people would use on a desk and rarely move. ...
    • M.2 SSD Tier List

      The sequential read and write speeds, which are usually the most advertised number, are not a proper benchmark of real-world performance or the quality of an SSD. This article categorizes and tiers SSDs based on factors like the type of NAND flash, ...