The system has been interrupted prior to initializing the
flash filesystem. The following commands will initialize
the flash filesystem, and finish loading the operating
system software:
flash_init
boot
之后,再松开mode键。
4、输入flash_init
5、输入 dir flash:
6、输入 rename flash:/config.text flash:/config.text.old
7、输入boot 重启交换机
重启后,交换机提示:Would you like to enter the initial configuration dialog? [yes/no]: 输入 no
8、重启后,输入 dir flash: 查看flash下的文件
dir system: 查看系统运行文件
copy flash:/config.text.old system:/running-config 复制完成后,当前系统就会加载config.text中的配置。
现在已经进入配置页面:
重新配置密码:
#config t
#no enable secret
#enable secret 0 password
#username user01 privilege 15 secret 5 *****
username user01 privilege 15 secret 5 *****
line console 0
login local
line vty 0 4
transport input all
exec-timeout 5 0
copy ru st