找回enable密码
接console线,重启交换机,按mode键
执行flash_init(否则无法看到flash的文件)
执行load_helper
执行dir flash: 可以看到flash里的config.text
执行rename flash:config.text flash:config.old
boot
出现Would you like to enter the inital configuration dialog?[yes/no] no
>enable
#rename flash:config.old flash:config.text
#copy flash:config.text system:running-config
#enable secret xxxx //或者enable password
#wr
转载于:https://blog.51cto.com/55348/1163375