Mellanox MLNX-OS® User Manualfor SX1018HP Ethernet Managed Blade Switch

Rev 1.6.9
Mellanox Technologies
36
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:
For further definitions of the interface, please refer to Mellanox MLNX-OS® Command Refer-
ence Guide.
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.
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