For all other systems (and software versions) DHCP is disabled by default.
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.
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
default
10.209.0.0
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 any license. However, it works only for system
profiles VPI and Ethernet. It cannot be enabled with IP Routing or IP Proxy-ARP.
To set an in-band management channel:
Create a VLAN. Run:
Step 1.
switch (config) # vlan 10
switch (config vlan 10) #
Create a VLAN interface. Run:
Step 2.
switch (config) # interface vlan 10 create
Enter the VLAN interface configuration mode and configure L3 attributes. Run:
Step 3.
switch (config) # interface vlan10
switch (config interface vlan10)#ip address 10.10.10.10 /24
Mask
Gateway
0.0.0.0
10.209.0.2
255.255.254.0
0.0.0.0
Mellanox Technologies Confidential
Interface
Source
mgmt0
static
mgmt0
direct
Mellanox Technologies
Rev 1.6.9
37