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:
Change to Config mode. Run:
Step 1.
switch >
switch > enable
switch # configure terminal
Disable setting IP addresses using the DHCP using the following command:
Step 2.
switch (config) # no interface <ifname> dhcp
Define your interfaces statically using the following command:
Step 3.
switch (config) # interface <ifname> ip address <IP address> <netmask>
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
Enable IPv6 on this interface.
Step 1.
switch (config) # interface mgmt0 ipv6 enable
Set the IPv6 address to be configured automatically.
Step 2.
switch (config) # interface mgmt0 ipv6 address autoconfig
Verify the IPv6 address is configured correctly.
Step 3.
switch (config) # show interfaces mgmt0 brief
4.1.3
Dynamic Host Configuration Protocol (DHCP)
DHCP is used for automatic retrieval of management IP addresses.
Mellanox Technologies Confidential
Mellanox Technologies
36
Rev 1.6.9