Mellanox:Initial Setup through Serial - Factory Reset

From Define Wiki
Jump to navigation Jump to search
[root@amd1 ~]# picocom -b 9600 /dev/ttyS0 
picocom v1.6

port is        : /dev/ttyS0
flowcontrol    : none
baudrate is    : 9600
parity is      : none
databits are   : 8
escape is      : C-a
local echo is  : no
noinit is      : no
noreset is     : no
nolock is      : no
send_cmd is    : sz -vv
receive_cmd is : rz -vv
imap is        : 
omap is        : 
emap is        : crcrlf,delbs,

Terminal ready


Mellanox MLNX-OS Switch Management

switch-d15c16 login: admin
aPassword: 
Login incorrect

login: admin
Password: 

Mellanox Switch


Mellanox configuration wizard

Do you want to use the wizard for initial configuration? yes

Step 1: Hostname? [switch-d15c16] 
Step 2: Use DHCP on mgmt0 interface? [yes] yes
Step 3: Enable IPv6? [yes]  

Enter 'yes' to enable IPv6 on the system; 'no' to disable it.

Step 3: Enable IPv6? [yes] 
Step 4: Enable IPv6 autoconfig (SLAAC) on mgmt0 interface? [no] 
Step 5: Enable DHCPv6 on mgmt0 interface? [no] 
Step 6: Admin password (Enter to leave unchanged)? 

You have entered the following information:

   1. Hostname: switch-d15c16
   2. Use DHCP on mgmt0 interface: yes
   3. Enable IPv6: yes
   4. Enable IPv6 autoconfig (SLAAC) on mgmt0 interface: no
   5. Enable DHCPv6 on mgmt0 interface: no
   6. Admin password (Enter to leave unchanged): (unchanged)

To change an answer, enter the step number to return to.
Otherwise hit <enter> to save changes and exit.

Choice: 

Configuration changes saved.

To return to the wizard from the CLI, enter the "configuration jump-start"
command from configure mode.  Launching CLI...



Please read and accept the Mellanox End User License Agreement located at:
http://www.mellanox.com/related-docs/prod_management_software/MLNX-OS_EULA.pdf

switch-d15c16 [standalone: master] > enable
switch-d15c16 [standalone: master] # show interfaces mgmt
mgmt0  mgmt1  
switch-d15c16 [standalone: master] # show interfaces mgmt
mgmt0  mgmt1  
switch-d15c16 [standalone: master] # show interfaces mgmt0 
Interface mgmt0 status:
   Comment:            
   Admin up:           yes
   Link up:            yes
   DHCP running:       yes
   IP address:         10.0.2.20
   Netmask:            255.0.0.0
   IPv6 enabled:       yes
   Autoconf enabled:   no
   Autoconf route:     yes
   Autoconf privacy:   no
   DHCPv6 running:     no
   IPv6 addresses:     1
   IPv6 address:       fe80::f652:14ff:fed1:5c16/64
   Speed:              1000Mb/s (auto)
   Duplex:             full (auto)
   Interface type:     ethernet
   Interface source:   physical
   MTU:                1500
   HW address:         F4:52:14:D1:5C:16

   RX bytes:           8909061             TX bytes:       462730
   RX packets:         82020               TX packets:     2430
lines 1-23