(DNX devices) Recover the root login account

If the root account is disabled and SLX-OS CLI is not available, to recover the VM root password first recover the VM root login account.

Before you begin

Note

Note

For a list of the currently supported DNX devices, see the "Supported Hardware" topic.

Procedure

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