Cisco3560交换机密码恢复

来源:互联网 发布:mac pro u盘重装系统 编辑:程序博客网 时间:2024/05/21 17:31
最近机房3560 的设备密码忘记 了,网络找了一下资料,最终成功了,特意分享一下
第一步:重启交换机
第二步:配置
1)按下MODE键后,给3560加电。

2)在出现的菜单中选择第一项flash_init。
system software:
   flash_init
   load_helper
   boot
switch:flash_init
switch:load_helper
3)重命名flash:config.text文件。
switch: ren flash:config.text flash:config.old
4)重启交换机
switch: boot

5)当出现问你是否进行配置时,选择NO(因为它找不到配置文件config.text文件了)。
Would you like to enter the initial configuration dialog? [yes/no]:no
6)从用户模式登录特权模式,无需密码。
Switch>en
Switch#
7)恢复刚才重命令的配置文件名.
Switch#ren flash:config.old flash:config.text
Destination filename [config.text]? 直接回车
8)用老的配置文件替换当前的配置文件。
Switch#copy flash:config.text system:running-config
Destination filename [running-config]? 直接回车
9)修改使用密码。
Switch#conf t
switch(config)#enable secret cisco
10) 保存密码,完成密码修改。
switch#wr 或者 copy running-config starting-config
0 0
原创粉丝点击