2016年1月3日 星期日

Cisco Password recovery

Type this for password recovery.
在開機約過10後 壓下mode鈕 約8秒後放掉插入consolo線
進入setup 模式
switch: flash_init
switch: load_helper
switch: rename flash:config.text flash:config.old
switch: boot

將目前config 設定檔改名


after the switch boots and you are at the enable prompt, type this:


switch# rename flash:config.old flash:config.text
Switch# copy flash:config.text system:running-config


將之前的設定檔回復 修改


以上適用於 Cisco IOS 系列




Type this for password recovery.
在開機約過10後 壓下mode鈕 約8秒後放掉插入consolo線
進入setup 模式
Switch: flash_init
Switch: SWITCH_IGNORE_STARTUP_CFG=1
Switch: boot flash:packages.conf
Would you like to enter the initial configuration dialog? [yes/no]: No


Switch# copy startup-config running-config Destination filename [running-config]?
Switch# configure terminal(修改你的密碼)
Switch# copy running-config startup-config 

Switch# show boot

 BOOT variable = flash:packages.conf;
 Manual Boot = yes

 Enable Break = yes


Switch# reload

在開機約過10後 壓下mode鈕 約8秒後放掉插入consolo線

Switch: switch: SWITCH_IGNORE_STARTUP_CFG=0
Switch: boot flash:packages.conf


以上password recovery 適用於Cisco ios XE系列







官方原廠


沒有留言:

張貼留言