We have completed the TURBOBOOT and updated the image version, but we need to remove all prior configuration and password.
What is the procedure for this?
Solved! Go to Solution.
Hi,
Xander and I have put together this document outlining the various methods of password recovery.
https://supportforums.cisco.com/docs/DOC-15870
Let me know if that covers what you need.
Thanks,
Sam
Hi Michael,
For that the following variables should be set:
TURBOBOOT=on,disk0:
MEDIA_FORMAT=disk0:,QNX4
Note: Do not use the format or clean option with turboboot or confreg 0x2142. If you do you will be unable to write the new username/password to disk and the router will have to be reloaded to recover the issue. This has to do with both turboboot and media format trying to format the disk / filesystem
I will edit the document to include these steps as it may prove useful for other people.
Thanks,
Sam
Hi,
Xander and I have put together this document outlining the various methods of password recovery.
https://supportforums.cisco.com/docs/DOC-15870
Let me know if that covers what you need.
Thanks,
Sam
Hi Sam,
Yes, I found this document and was able to create a generic ADMIN password.
However, the A9K-RSP-4G still has old configuration from the previous user.
Is there a way to do a TURBOBOOT with the new image that completely wipes out all previous settings and configuration files?
Thank you,
Michael
Hi Michael,
Yes, you can.
We also wrote this document:
https://supportforums.cisco.com/document/123576/asr9000xr-understanding-turboboot-and-initial-system-bring#rsp
Were you possibly using the 'clean' option before?
Thanks,
Sam
Hi Sam,
Yes, I have read this document.
I did not use the "clean" or "format" option yet. But the document states that in both cases the configuration files are saved:
format tells us to replace the OS completely except for the admin configuration
clean tells us to replace the OS completely, but other files such as the admin or exec configuration are saved
Does the "clean" option remove all previous configuration?
Thank you,
Michael.
Hi Michael,
For that the following variables should be set:
TURBOBOOT=on,disk0:
MEDIA_FORMAT=disk0:,QNX4
Note: Do not use the format or clean option with turboboot or confreg 0x2142. If you do you will be unable to write the new username/password to disk and the router will have to be reloaded to recover the issue. This has to do with both turboboot and media format trying to format the disk / filesystem
I will edit the document to include these steps as it may prove useful for other people.
Thanks,
Sam
Hi Sam,
Thank you for your reply and the MEDIA_FORMAT command.
I understand your note about not using the "clean" or "format" option with TURBOBOOT.
I don't understand the "confreg 0x2142" command. At this time, the configuration register of the router is 0x102. This is the output of the "sh ver" command. What should be the default configuration register?
Thank you,
Michael.
Oops I mistyped, I meant confreg 0x142 which is used for password recovery.
During the turboboot the config-register is set to 0x102.
Table 1 on this page has the details of the other common ones used:
http://www.cisco.com/c/en/us/td/docs/routers/asr9000/software/asr9k_r4-2/system_management/command_reference/b_sysman_cr42asr9k/b_sysman_cr42asr9k_chapter_01.html
Thanks,
Sam
Hi Sam,
I have followed your procedure and everything worked perfectly.
Thank you again for your help.
Michael.