HP Mellanox SX1018 Mellanox MLNX-OS® User Manualfor SX1018HP Ethernet - Page 36

System Management

Page 36 highlights

4 System Management Rev 1.6.9 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: switch > switch > enable switch # configure terminal Step 2. Disable setting IP addresses using the DHCP using the following command: switch (config) # no interface dhcp Step 3. Define your interfaces statically using the following command: switch (config) # interface ip address For further definitions of the interface, please refer to Mellanox MLNX-OS® Command Reference Guide. 4.1.2 Configuring IPv6 Address on the Management Interface Step 1. Enable IPv6 on this interface. switch (config) # interface mgmt0 ipv6 enable Step 2. Set the IPv6 address to be configured automatically. switch (config) # interface mgmt0 ipv6 address autoconfig Step 3. Verify the IPv6 address is configured correctly. 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 36 Mellanox Technologies Confidential

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88

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