通信人家园

 找回密码
 注册

只需一步,快速开始

短信验证,便捷登录

搜索

军衔等级:

  新兵

注册:2016-4-6
跳转到指定楼层
1#
发表于 2026-7-19 23:42:15 |只看该作者 |倒序浏览
操作步骤:

Console到设备上,在设备启动过程中,按住Mode按钮15秒左右,然后进入Boot loader
Switch:
Switch:SWITCH_IGNORE_STARTUP_CFG=1
Switch:SWITCH_DISABLE_PASSWORD_RECOVERY=0
然后输入boot命令启动设备。
Switch: boot
在进入设备之后,进入特权模式:
Switch>en
Swtich#
检查startup配置中的账户,将startup-config恢复到running-config中
Switch# copy startup-config running-config
恢复密码:
Switch(config)#username xxxx pri 15 secret xxxxx     //重新设置账户密码
Switch(config)#no system ignore startupconfig switch all
Switch(config)#exit
然后保存
Switch#wr
Building configuration...
[OK]
Switch#

举报本楼

您需要登录后才可以回帖 登录 | 注册 |

版规|手机版|C114 ( 沪ICP备12002291号-1 )|联系我们 |网站地图  

GMT+8, 2026-7-21 05:22 , Processed in 0.061740 second(s), 16 queries , Gzip On.

Copyright © 1999-2025 C114 All Rights Reserved

Discuz Licensed

回顶部