Mellanox MLNX-OS User Manual for SX1018HP Ethernet Managed Blade Switch

Rev 2.10
Mellanox Technologies
81
Mellanox Technologies Confidential
4 System Management
4.1 Management Interface
4.1.1 Configuring Management Interfaces with Static IP Addresses
If your switch system was set during initialization to obtain dynamic IP addresses through DHCP
and you wish to switch to static assignments, perform the following steps:
Step 1. Change to Config mode. Run:
Step 2. Disable setting IP addresses using the DHCP using the following command:
Step 3. Define your interfaces statically using the following command:
4.1.2 Configuring IPv6 Address on the Management Interface
Step 1. Enable IPv6 on this interface.
Step 2. Set the IPv6 address to be configured automatically.
Step 3. Verify the IPv6 address is configured correctly.
4.1.3 Dynamic Host Configuration Protocol (DHCP)
DHCP is used for automatic retrieval of management IP addresses.
For all other systems (and software versions
) DHCP is disabled by default.
switch >
switch > enable
switch # configure terminal
switch (config) # no interface <ifname> dhcp
switch (config) # interface <ifname> ip address <IP address> <netmask>
switch (config) # interface mgmt0 ipv6 enable
switch (config) # interface mgmt0 ipv6 address autoconfig
switch (config) # show interfaces mgmt0 brief
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.
<localhost># ssh admin@192.168.10.101
Mellanox MLNX-OS Switch Management
Password:
Mellanox Switch
Mellanox configuration wizard
Do you want to use the wizard for initial configuration? yes
Step 1: Hostname? [switch-6287a4]
Step 2: Use DHCP on mgmt0 interface? [yes] no
<localhost>#
In such case the serial connection should be used.