重启交换机,按住mode键。
flash_init
switch: dir flash:
switch: rename flash:config.text flash:config.old
switch: boot
Would you like to enter the initial configuration dialog? [yes/no]: no
Switch>en
Switch#rename flash:config.old flash:config.text
Destination filename [config.text]?
Switch#copy flash:config.text system:running-config
Destination filename [running-config]?
修改telnet和console密码
至此密码恢复完成,reload验证一下即可。
恢复Cisco 2960交换机密码
时间: 2024-10-21 21:05:36