The config will not be lost. It will just be ignored so that you can enter a new password. Don't forget to change the config back to 0x2102 after you recover the password.
Hope this help,
Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México