Restaurar Router cisco con el comando Password Recovery disabled

Para hacer la prueba, primero mostramos como deshabilitar la recuperación de configuración:


Router(config)# no service password-recovery
WARNING: Executing this command will disable password recovery mechanism.
Do not execute this command without another plan for password recovery.
Are you sure you want to continue? [yes/no]: y
Router(config)#





Ahora reiniciamos el router a continuación muestro la salida de la CLI.
Y justamente tal como lo indico más abajo presionamos la tecla "break"
para para el proceso de carga.


System Bootstrap, Version 12.3(8r)YH8, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport Copyright (c) 2006 by
cisco Systems, Inc. C1800 platform with 131072 Kbytes of main memory with
parity disabled Upgrade ROMMON initialized PASSWORD RECOVERY FUNCTIONALITY IS
DISABLED program load complete, entry point: 0x80012000, size: 0xc0c0
Initializing ATA monitor library....... program load complete,
entry point: 0x80012000, size: 0xc0c0 Initializing ATA monitor library.......
program load complete, entry point: 0x80012000, size: 0x167e724 Self decompressing
the image : ################################################
###############################################################################
################################################################ [OK]
Restricted Rights Legend Use, duplication, or disclosure by the Government
is subject to restrictions as set forth in subparagraph (c) of the Commercial
Computer Software - Restricted Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer Software clause at DFARS
sec. 252.227-7013. cisco Systems, Inc. 170 West Tasman Drive San Jose,
California 95134-1706 Cisco IOS Software, C181X Software (C181X-ADVIPSERVICESK9-M),
Version 12.4(24)T, RELEASE SOFTWARE (fc1) Technical Support:
http://www.cisco.com/techsupport Copyright (c) 1986-2009 by Cisco Systems, Inc.
Compiled Thu 26-Feb-09 03:22 by prod_rel_team
[ Send the break signal at this point ]








System Bootstrap, Version 12.3(8r)YH8, RELEASE SOFTWARE (fc2) Technical
Support: http://www.cisco.com/techsupport Copyright (c) 2006 by cisco Systems, Inc.
C1800 platform with 131072 Kbytes of main memory with parity disabled
Upgrade ROMMON initialized PASSWORD RECOVERY FUNCTIONALITY IS DISABLED program
load complete, entry point: 0x80012000, size: 0xc0c0
Initializing ATA monitor library....... program load complete,
entry point: 0x80012000, size: 0xc0c0 Initializing ATA monitor library.......
program load complete, entry point: 0x80012000, size: 0x167e724
Self decompressing the image : #################################################
################################################################################
################################################################ [OK]
Restricted Rights Legend Use, duplication, or disclosure by the Government
is subject to restrictions as set forth in subparagraph (c) of the Commercial
Computer Software - Restricted Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer Software clause at DFARS
sec. 252.227-7013. cisco Systems, Inc. 170 West Tasman Drive San Jose, California
95134-1706 Cisco IOS Software, C181X Software (C181X-ADVIPSERVICESK9-M),
Version 12.4(24)T, RELEASE SOFTWARE (fc1) Technical
Support: http://www.cisco.com/techsupport Copyright (c) 1986-2009 by Cisco Systems,
Inc. Compiled Thu 26-Feb-09 03:22 by prod_rel_team
[ Send the break signal at this point ]

PASSWORD RECOVERY IS DISABLED.
Do you want to reset the router to factory default configuration and proceed [y/n] ? y
Reset router configuration to factory default.


A partir de este punto el rotuer nos volverá a arrancar con los valores por defecto de fábrica.
Si comprovamos el startup-config veremos que está vacio, entonces volvemos a activar el
servicio de password-recovery y modificamos el config-register tal como se muestra a
continuación.




Router(config)# config-register 0x2142
Password recovery is disabled, cannot enable diag or ignore configuration.
Router(config)# service password-recovery
Router(config)# config-register 0x2142

1 comentario:

Adrian Moczyński dijo...

Bardzo fajnie napisane. Jestem pod wrażeniem i pozdrawiam.