For bring-up of a switch system with NVIDIA Onyx (MLNX-OS) operating system installed, see Configuring Network Attributes Using NVIDIA Onyx (MLNX-OS).
For bring-up of a switch system with Cumulus Linux operating system installed, see Configuring Network Attributes Using Cumulus Linux.
Configuring Network Attributes Using NVIDIA Onyx (MLNX-OS)
The procedures described in this chapter assume that you have already installed and powered on the system according to the instructions in this document. The system comes with a pre-configured DHCP. If you wish to disable it, refer to Disable Dynamic Host Configuration Protocol (DHCP). In case a manual configuration is required, please refer to the instructions in Manual Host Configuration.
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 NVIDIA Onyx (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
NVIDIA 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-1]||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
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:
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 NVIDIA Onyx (MLNX-OS) User Manual.
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 Onyx (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
Remote Connection with NVIDIA Onyx (MLNX-OS)
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>
- Login as admin (default username is admin, password is admin).
- Once you get the CLI prompt, you are ready to use the system.
For additional information about NVIDIA Onyx (MLNX-OS), refer to the NVIDIA Onyx (MLNX-OS) User Manual located on the NVIDIA Networking Documentation Website.
Configuring Network Attributes Using Cumulus Linux
For Cumulus Linux initial configuration instructions, see Configuring Cumulus Linux in the Cumulus Linux Quick Start Guide.
Remote Connection with Cumulus Linux
Cumulus Linux uses the OpenSSH package to provide SSH functionality. To securely access a Cumulus Linux switch remotely, please follow the instructions on the "SSH for Remote Access" page in the Cumulus Linux User Guide.