If you forgot the password for the VM root account and ONIE mode is available, you can recover the default password.
Note
ONIE is available for all SLX devices, except for SLX 9540 running SLX-OS version 20.1.x and below.
ONIE:/ # bootenv VM_Root_Recover RootPasswd
ONIE:/ # reboot ONIE:/ # discover: Rescue mode detected. No discover stopped. Stopping: dropbear ssh daemon... done.
fibranne
password.