取消
显示结果 
搜索替代 
您的意思是: 
cancel
15072
查看次数
0
有帮助
12
回复

3650交换机密码破解

shenshu7895123
Level 1
Level 1
现在交换机密码破解和过去老的交换机密码破解 有一些差别了。今天有个客户,3650的交换机enable密码忘了,需要破解,刚开始用户尝试老的方法,发现不成功。后来查了cisco的文档。方法如下:
Related Concepts
Procedure with Password Recovery Enabled
If the password-recovery operation is enabled, this message appears:















Step 1
Initialize the flash file system.
Switch: flash_init
Step 2
Ignore the startup configuration with the following command:
Switch: SWITCH_IGNORE_STARTUP_CFG=1
Step 3
Boot the switch with the packages.conf file from flash.
Switch: boot flash:packages.conf
Step 4
Terminate the initial configuration dialog by answering No.
Would you like to enter the initial configuration dialog? [yes/no]: No
Step 5
At the switch prompt, enter privileged EXEC mode.
Switch> enable
Switch#
Step 6
Copy the startup configuration to running configuration.
Switch# copy startup-config running-config Destination filename [running-config]?
Press Return in response to the confirmation prompts. The configuration file is now reloaded, and you can change the password.
Step 7
Enter global configuration mode and change the enable password.
Switch# configure terminal
Switch(config)#
Step 8
Write the running configuration to the startup configuration file.
Switch# copy running-config startup-config
Step 9
Confirm that manual boot mode is enabled.
Switch# show boot

BOOT variable = flash:packages.conf;
Manual Boot = yes
Enable Break = yes
Step 10
Reload the switch.
Switch# reload
Step 11
Return the Bootloader parameters (previously changed in Steps 2 and 3) to their original values.

Switch: switch: SWITCH_IGNORE_STARTUP_CFG=0
Step 12
Boot the switch with the packages.conf file from flash.
Switch: boot flash:packages.conf
Step 13
After the switch boots up, disable manual boot on the switch.
Switch(config)# no boot manual

12 条回复12

764963038cisco
Level 1
Level 1
不错,学习学习:P

blgao
Cisco Employee
Cisco Employee
多谢楼主的分享,的确对于绕过密码登录设备,交换机和路由器的方式是不同的,另一种方式,就是当进入switch:模式之后,将config.text重新命名,之后,交换机就不会加载原来的配置了,等到进入空配的命令行之后,将config.text改成原来的名字,并copy到running-config中,与router修改寄存器类似,而且这种方式也好理解。。

one-time
Level 13
Level 13
多谢楼主的分享

梵人
Level 1
Level 1
谢谢楼主的讲解

梵人
Level 1
Level 1
blakegao 发表于 2015-1-8 17:42 back.gif
多谢楼主的分享,的确对于绕过密码登录设备,交换机和路由器的方式是不同的,另一种方式,就是当进入switch ...

请教一下,进入switch:模式之后,将config.text重新命名,之后,交换机就不会加载原来的配置了,等到进入空配的命令行之后,将config.text改成原来的名字,并copy到running-config中,与router修改寄存器。以上的方法都是通过什么命令来实现的。我是新手,能详细的讲解一下吗?谢谢

xupeng
Cisco Employee
Cisco Employee
谢谢楼主分享

jingjian
Spotlight
Spotlight
梵人 发表于 2015-4-28 12:42 back.gif
请教一下,进入switch:模式之后,将config.text重新命名,之后,交换机就不会加载原来的配置了,等到进入 ...

rename flash:config.text flash:config.text.old

梵人
Level 1
Level 1
arvinjing 发表于 2015-5-2 14:43 back.gif
rename flash:config.text flash:config.text.old

谢谢指教:)

kkdcf
Level 1
Level 1
按这个方法,输入到step 3后,交换机重启后还是原来来的状态。这是为什么呢?

李东杰
Level 1
Level 1
我也是这个情况 步骤3设备重启以后,还是需要密码 这是什么鬼?

李东杰
Level 1
Level 1
我找到原因了 在地步骤2的时候 要把命令以 英文大写 的格式键入

mis0000016
Spotlight
Spotlight
很实用,感谢共享!
入门指南

使用上面的搜索栏输入关键字、短语或问题,搜索问题的答案。

我们希望您在这里的旅程尽可能顺利,因此这里有一些链接可以帮助您快速熟悉思科社区:









快捷链接