In order to query the system, perform firmware upgrade or other firmware operation. Refer to the latest NVIDIA Firmware tools (MFT) located at https://network.nvidia.com/support/firmware/firmware-downloads/.
In order to obtain the firmware version of the externally managed system:
Run the following command from a host:
# flint -d <device> q
- Compare the results of this command with the latest version for your system posted on https://network.nvidia.com/support/firmware/firmware-downloads/.
- If the current version is not the latest version, follow the directions in the MFT User Manual to burn the new firmware.
Configuring Network Attributes
The procedures described in this chapter assume that you have already installed and powered on the system according to the instructions in this document. Since the system comes with a pre-configured DHCP, you may find the explanation in Disable Dynamic Host Configuration Protocol (DHCP). In case a manual configuration is required, please refer to the instructions in Manual Host Configuration.
Disable Dynamic Host Configuration Protocol (DHCP)
DHCP is used for automatic retrieval of management IP addresses.
If a user connects through SSH, runs the wizard and turns off DHCP, the connection is immediately terminated, as the management interface loses its IP address. In such a case, the serial connection should be used.
<localhost># ssh admin@<ip-address>
Mellanox MLNX-OS Switch Management
Mellanox configuration wizard
Do you want to use the wizard for initial configuration?
Step 1: Hostname? [my-switch]
Step 2: Use DHCP on mgmt0 interface? [yes] no
Manual Host Configuration
To perform initial configuration of the system:
Step 1. Connect a host PC to the Console RJ45 port of the system, using the supplied harness cable (DB9 to RJ45).
Make sure to connect to the Console RJ45 port, and not to the (Ethernet) MGT port. Pay attention to the icons:
Step 2. Configure a serial terminal program (for example, HyperTerminal, minicom, or Tera Term) on your host PC with the settings described in the table below. Once you perform that, you should get the CLI prompt of the system.
Serial Terminal Program Configuration
Step 3. Login as admin and use admin as password. On the first login, the MLNX-OS configuration wizard will start.
Step 4. To configure network attributes and other initial parameters to the system, follow the configuration wizard as shown in the Configuration Wizard Session table below.
Configuration Wizard Session
Wizard Session Display
Mellanox configuration wizard
|You must perform this configuration the first time you operate the system or after resetting the system. Type ‘y’ and then press <Enter>.|
|Step 1: Hostname? [switch]||If you wish to accept the default hostname, press <Enter>. Otherwise, type a different hostname and press <Enter>.|
|Step 2: Use DHCP on mgmt0 interface? [no] yes|
Perform this step to obtain an IP address for the system. (mgmt0 is the management port of the system).
|Step 3: Enable IPv6? [yes]|
The management interface will be able to use IPv6 addresses.
|Step 4: Enable IPv6 auto-config (SLAAC) on mgmt0 interface? [no]||This turns on auto-configuration of the IPv6 addresses. This is unsuitable for DHCPv6.|
|Step 5: Enable DHCPv6 on mgmt0 interface? [no]||To enable DHCPv6 on the MGMT0 interface.|
Step 6: Admin password (Press <Enter> to leave unchanged)? <new_password>
To avoid illegal access to the machine, please type a password and then press <Enter>. Then confirm the password by re-entering it. Note that password characters are not printed.
You have entered the following information:
The wizard displays a summary of your choices and then asks you to confirm the choices or to re-edit them.
The table below shows an example of static IP configuration for mgmt0 interface.
Configuration Wizard Session - Static IP Configuration
NVIDIA configuration wizard Do you want to use the wizard for initial configuration? yes Step 1: Hostname?  Step 2: Use DHCP on mgmt0 interface? [yes] no Step 3: Use zeroconf on mgmt0 interface? [no] Step 4: Primary IP address? [for example 192.168.10.4] 10.10.10.10 Mask length may not be zero if address is not zero (interface eth0) Step 5: Netmask? [0.0.0.0] 255.255.255.0 Step 6: Default gateway? [for example 192.168.10.1] 10.10.10.255 Step 7: Primary DNS server? Step 8: Domain name? Step 9: Enable IPv6? [yes] Step 10: Enable IPv6 autoconfig (SLAAC) on mgmt0 interface? [no] Step 11: Admin password (Enter to leave unchanged)? To change an answer, enter the step number to return to. Otherwise hit <enter> to save changes and exit. Choice: Configuration changes saved. To return to the wizard from the CLI, enter the “configuration jump-start” command from configure mode. Launching CLI...
Step 5. Before attempting a remote (for example, SSH) connection to the system, check the mgmt0 interface configuration. Specifically, verify the existence of an IP address. To check the current mgmt0 configuration, enter the following command:
switch (config) # show interfaces mgmt0 Interface mgmt0 status: Comment: Admin up: yes Link up: yes DHCP running: yes IP address: 10.209.28.50 Netmask: 255.255.255.0 IPv6 enabled: yes Autoconf enabled: no Autoconf route: yes Autoconf privacy: no DHCPv6 running: no IPv6 addresses: 1 IPv6 address: fe80::202:c9ff:fe63:b55a/64 Speed: 1000Mb/s (auto) Duplex: full (auto) Interface type: ethernet Interface source: physical MTU: 1500 HW address: 00:02:C9:63:B5:5A RX bytes: 968810197 TX bytes: 1172590194 RX packets: 10982099 TX packets: 10921755 RX mcast packets: 0 TX discards: 0 RX discards: 0 TX errors: 0 RX errors: 0 TX overruns: 0 RX overruns: 0 TX carrier: 0 RX frame: 0 TX collisions: 0 TX queue len: 1000 switch (config) #
Step 6. Check the software version embedded in your system, using the command ‘show version’. Compare this version to the latest version that can be retrieved from NVIDIA support site. To upgrade software, please refer to the MLNX-OS User Manual.
Once the network attributes are set, you can access the CLI via SSH or the WebUI via HTTP/ HTTPs.
To access the CLI, perform the following steps:
- Set up an Ethernet connection between the system and a local network machine using a standard RJ45 connector.
Start a remote secured shell (SSH) using the command: ssh -l <username> <IP_address>
# ssh -l <username> <ip_address> Mellanox MLNX-OS Switch Management Password:
- Login as admin (default username is admin, password admin).
- Once you get the CLI prompt, you are ready to use the system.
For additional information about MLNX-OS, refer to the MLNX-OS User Manual at https://docs.nvidia.com/networking/category/mlnxos.