If you forgot the password for the VM
root account, you can recover the default password.
Note
For a list of the currently supported XGS
devices, see the "Supported Hardware" topic.
-
Enter the
reboot command.
-
Select and enter the
ONIE option.
-
Select and enter the ONIE: Rescue option.
-
Define the root login value for the root recover environment variable.
ONIE:/ # bootenv VM_Root_Recover RootPasswd
-
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.
-
If the SLX-OS CLI is available, you can recover the root account by using the
SLX-OS CLI root enable command.