Cisco 交换机3560密码破解和恢复出厂设置 |
您所在的位置:网站首页 › 思科交换机console默认密码 › Cisco 交换机3560密码破解和恢复出厂设置 |
交换机上电前,按住“mode”按钮,直到sys灯变绿色且快速闪动,或者出现The password-recovery mochanism is enabled。提示信息后松开mode按钮,进入到交换机的底层模式 switch: 在出现的菜单中选择第一项 出现三个选项system software:flash_init load_helper boot switch:flash_init //初始化switch:load_helper //帮助 switch: dir flash: //可以看到vlan.dat和config.text文件 Directory of flash:/ 2 -rwx 27 Mar 1 1993 08:36:05 +08:00 private-config.text 4 -rwx 6264 Mar 4 2022 19:30:55 +08:00 vlan.dat 5 -rwx 5279 Mar 1 1993 08:36:05 +08:00 config.text 6 drwx 192 Mar 1 1993 08:08:55 +08:00 c3560-ipbase-mz.122-25.SEE2 32514048 bytes total (24348160 bytes free) switch: rename flash:config.text flash:config.old //重命名flash:config.text文件 switch: boot //重启交换机 重启之后,当出现问你是否进行配置时,选择NO(因为它找不到配置文件config.text文件了)Would you like to enter the initial configuration dialog? [yes/no]:no Switch> enable *从用户模式登陆特权模式,就无需密码了Switch# Switch#ren flash:config.old flash:config.text *恢复刚才重命名的配置文件名Destination filename [config.text]? 直接回车 Switch#copy flash:config.text system:running-config *用老的配置文件替换当前的配置文件Destination filename [running-config]? 直接回车Switch#conf t *进入全局模式switch(config)#enable password tact *设置密码switch#wr *保存配置 或用命令 copy running-config starting-config OK到这里我们的密码就改好了 switch#reload @#################################################################### 实例: --- System Configuration Dialog --- Would you like to enter the initial configuration dialog? [yes/no]: no Switch>enable Switch#ren flash:config.old flash:config.text % Ambiguous command: "ren flash:config.old flash:config.text" Switch#ren flash:config.old flash:config.text % Ambiguous command: "ren flash:config.old flash:config.text" Switch#ren % Incomplete command. Switch#ren? rename renew Switch#rename flash:config.old flash:config.text Destination filename [config.text]? Switch#copy flash:config.text system:run? system:running-config Switch#copy flash:config.text system:ru Switch#copy flash:config.text system:running-config Destination filename [running-config]? 5398 bytes copied in 0.453 secs (11916 bytes/sec) wireless-3# 000004: *Mar 1 00:07:20: %SYS-6-CLOCKUPDATE: System clock has been updated from 00:07:20 UTC Mon Mar 1 1993 to 08:07:20 BJ Mon Mar 1 1993, configured from console by console. wireless-3# |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |