This artical will introduction how to recover password in eXR system, Like ASR9000,NCS6008. You can reference below comment.
For ASR9000, you need connect to the AUX port;
For NCS6008, you can connect to the sysadmin vm port.
Recover steps #
First you will see below output, use cisco/cisco login, as AUX and sysadmin port will skip AAA.
System Admin Username: cisco
Password:
sysadmin-vm:0_RP0#
sysadmin-vm:0_RP0# show VM
Tue Jun 4 18:46:44.342 UTC
Location: 0/RP0
Id Status IP Address HB Sent/Recv
-------------------------------------------------------------
sysadmin running 192.0.0.1 NA/NA
default-sdr running 192.0.0.4 1733/1733 <<<< XR vm linux kernel
sysadmin-vm:0_RP0# run
[sysadmin-vm:0_RP0:~]$chvrf 0 bash <<< must be exec this command
[sysadmin-vm:0_RP0:~]$ssh 192.0.0.4
[xr-vm_node0_RP0_CPU0:~]$
[xr-vm_node0_RP0_CPU0:~]$
[xr-vm_node0_RP0_CPU0:~]$
[xr-vm_node0_RP0_CPU0:~]$config <<<<
RP/0/RP0/CPU0:NCS6008-A(config)#
RP/0/RP0/CPU0:NCS6008-A(config)# <<< Then you can modify the configuration