Mellanox MLNX-OS® User Manualfor SX1018HP Ethernet Managed Blade Switch
Rev 1.6.9
Mellanox Technologies
37
Mellanox Technologies Confidential
For all other systems (and software versions) DHCP is disabled by default.
4.1.4 Default Gateway
In order to configure manually the default gateway, use the “ip route” command, with “0.0.0.0”
as prefix and mask. The next-hop address must be within the range of one of the IP interfaces on
the system.
switch (config)# ip route 0.0.0.0 0.0.0.0 10.209.0.2
switch (config)# show ip route
Destination Mask Gateway Interface Source
default 0.0.0.0 10.209.0.2 mgmt0 static
10.209.0.0 255.255.254.0 0.0.0.0 mgmt0 direct
switch (config)#
4.1.5 In-Band Management
In-band management is a management path passing through the data ports. In-band management
can be created over one of the VLANs in the systems.
The in-band management feature does not require a
ny license. However, it works only for system
profiles VPI and Ethernet. It cannot be enabled with IP Routing or IP Proxy-ARP.
T
o set an in-band management channel:
Step 1. Create a VLAN. Run:
Step 2. Create a VLAN interface. Run:
Step 3. Enter the VLAN interface configuration mode and configure L3 attributes. Run:
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.
switch (config) # vlan 10
switch (config vlan 10) #
switch (config) # interface vlan 10 create
switch (config) # interface vlan10
switch (config interface vlan10)#ip address 10.10.10.10 /24










