交换机密码恢复
1.拔掉电源,重启switch,启动过程中按住前面板的mode键30s, 直到 出现以下提示
The system has been interrupted prior to initializing the flash file system.
The following commands will initialize the flash file system, and finish loading the operating system software:
进入switch:的模式
2.输入flash_init
3.输入load_helper
4.输入dir flash:
(查看flash下保存的文件,其中有配置文件config.text)
5.输入rename flash:config.text flash:config.old
6.输入boot引导系统
7.Continue with the configuration dialog? [yes/no]:
输入N
8.进入enable模式
rename flash:config.old flash:config.text
9.copy flash:config.text system:running-config
10.修改密码
仅供参考!