Catalyst 2950密码恢复方法
1.连接好console线;
2.拔电源,按住mode键插电源,直至1x口LED灯亮两秒以上方可松开mode键,flash初始化过程中断,系统进入“switch:”提示符状态;
(正常启动时候按Ctrl+Break也可达到相同效果);
3.flash_init
load_helper
dir flash: (一定要有冒号)
rename flash:config.text flash:config.old (将startup-config文件改名)
boot (继续引导)
4.系统提示是否进行初始化,选择no;
5.enable
rename flash:config.old flash:config.text (恢复startup-config文件)
copy flash:config.text system:running-config (恢复running-config文件)
conf t
enable secret xxxxxx (重设密码)
end
copy run start