码迷,mamicode.com
首页 > 系统相关 > 详细

cisco2960G破解密码真机教程

时间:2016-08-03 22:24:32      阅读:250      评论:0      收藏:0      [点我收藏+]

标签:cisco2960

1.启用超级终端并出现连接界面。


2.拔掉交换机的电源.


3.按下交换机上的Mode按钮,与此同时,重新插上交换机的电源线.


4.当交换机左边的sys灯会慢慢的闪动,(细心的话会发现部分灯红色的闪过),按住mode按钮直到sys灯不闪动(常亮状态).否则提前松开的按钮的话会直接进入正常的启动,跳回步骤2重来.


5.可以松开Mode按钮

之后系统将显示一些指示信息:

The system has been interrupted prior to initializing the flash file system. The following

commands will initialize the flash file system, and finish loading the operating system

software:

flash_init /---初始化flash文件系统---/

load_helper /---加载帮助文件---/

boot /---启动设备进入正常的模式---/ 步骤:

switch:

Switch:flash_init

Switch:dir flash: /---查看Flash的文件名字可以用来确认文件名为config.text---/

Switch:rename flash:config.text flash:oldconfig.text/---把配置文件重命名,当然你可以不改为oldconfig.text,只要文件名和原来的不相同就可以---/

Switch:boot /---手动启动交换机---/

配置文件改过了,交换机找不到默认的config.text而出现配置的对话向导,选择n然后回车然后我们就会绕过原来的password而进入到:

Switch>

Switch>en /--可以进入特权模式--/

Switch#rename flash:oldconfig.text flash:config.text /---恢复交换机配置文件---/

Switch#copy flash:config.text system:running-config /---保存配置到DRAM里---/

Switch#config t 这时就可以设置新的password为cisco Switch(config)# enable passwordcisco Switch(config)# enable secret CISCO Switch(config)#line con 0 Switch(config)#password cisco Switch#copy run start 或用下面方法暂时清空密码,待以后再做设置

Switch(config)#no enable password /---干掉特权模式旧密码---/

Switch(config)#no enable secret /---干掉加秘密码---/

Switch(config)#exit

Switch#copy run start /---把当前配置的文件写回Flash---/

用这个方法修改密码不会把原来的配置文件内容清掉.特别是一个现成的大型网络里已经在运行的交换机,这样比较保险点



交换机下清除配置命令:1:erase startup-config         2:delete vlan.dat              3:reload

cisco2960G破解密码真机教程

标签:cisco2960

原文地址:http://11403002.blog.51cto.com/11393002/1834108

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!