Recover the root password when ONIE is available

If you forgot the password for the VM root account and ONIE mode is available, you can recover the default password.

Before you begin

Note

Note

ONIE is available for all SLX devices, except for SLX 9540 running SLX-OS version 20.1.x and below.

Procedure

  1. Enter the reboot command.
  2. Select and enter the ONIE option.
  3. Select and enter the ONIE: Rescue option.
  4. Define the root login value for the root recover environment variable.
    ONIE:/ # bootenv VM_Root_Recover RootPasswd
  5. Enter the reboot command.
    ONIE:/ # reboot
    ONIE:/ # discover: Rescue mode detected. No discover stopped.
    Stopping: dropbear ssh daemon... done.
    
    The root account is now enabled. You can log in with the default fibranne password.