cisco 2950 3550 3750 系列交换机密码破解

破解密码原则:只删除密码 ,不破坏配置
#本文中的#号表示注释的意思
#第一步. 连接交换机的console口到终端
#第二步. 按住交换机面板上的mode键的同时 插入电源,直到sys灯不闪,常亮再松开mode键

C2950 Boot Loader (C2950-HBOOT-M) Version 12.1(6)EA2c, RELEASE SOFTWARE (fc1)                                                                            
Compiled Thu 28-Feb-02 14:59 by antonino                                       
WS-C2950C-24 starting...                       
Base ethernet MAC Address: 00:09:e8:b4:45:40                                           
Xmodem file system is available.

The system has been interrupted prior to initializing the                                                        
flash filesystem.  The following commands will initialize                                                        
the flash filesystem, and finish loading the operating                                                     
system software:

flash_init             
    load_helper              
    boot  
----------------------------------

#
#flash_init   :初始化flash文件系统
#load_helper  :加载帮助文件
#boot         :启动设备进入正常的模式

switch: flash_init

#第三步 这里我们选择初始化 flash
Initializing Flash...                    
flashfs[0]: 17 files, 2 directories                                  
flashfs[0]: 0 orphaned files, 0 orphaned directories                                                   
flashfs[0]: Total bytes: 7741440                               
flashfs[0]: Bytes used: 4502528                              
flashfs[0]: Bytes available: 3238912                                   
flashfs[0]: flashfs fsck took 7 seconds.                                       
...done initializing flash.                          
Boot Sector Filesystem (bs:) installed, fsid: 3                                              
Parameter Block Filesystem (pb:) installed, fsid: 4
switch: rename flash:config.text flash:config.old
#第四步 改名含有password的配置文件
switch: boot

#第五步 启动交换机
Loading "flash:c2950-i6q4l2-mz.121-9.EA1.bin"...################################         
Done initializing flashfs.                         
POST: System Boa
##################################################ST: Ethernet Controller                        
nt: 0x80010000 interface(s)
executing...

Restricted Rights Legendted non-volatile configuration memory.

Use, duplication, or disclosure by the Government is        
Base ethernet MAC Address: 00:09:E8:B4:45:
subject to restrictions as set forth in subparagraphboard assembly number: 73-5750-10                  
(c) of the Commercial Computer Software - Restricted5-01                                   
Motherboard
Rights clause at FAR sec. 52.227-19 and subparagraph           
Power supply serial n                 
           170 West Tasman Drive type vlan                     
           San Jose, California 95134-1706        
00:00:17: %SYS-5-CONFIG_I: Confi

Cisco Internetwork Operating System Software                                       
00:
IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(9)EA1, RELEASE SOFTWARE (     
Cisco Internetwork Operating System Software                            
fc1)   
Copyright (c) 1986-2002 by cisco Systems, Inc., Version 12.1(9)EA1, RELEASE SOFTWARE (     
Compiled Wed 24-Apr-02 06:57 by antonino                                
fc1) 
Image text-base: 0x80010000, data-base: 0x804E8000                                           
Compi

Initializing flashfs... antonino             
flashfs[1]: flashfs fsck took 7 seconds.40                                     
flashfs[1]: Initialization complete.e.                               
I
Done initializing flashfs.             
flashfs[0]:
POST: System Board Test : Passed                         
flash
POST: Ethernet Controller Test : Passedctories                               
ASIC Initialization Passeds[0]: Total bytes: 7741440

POST: FRONT-END LOOPBACK TEST : Passed[0]: Bytes used: 4502528             
cisco WS-C2950C-24 (RC32300) processor (revision E0) with 20815K bytes of memory        
flashfs[0]: flashfs fsck took 6 second                               
.
Base ethernet MAC Address: 00:09:E8:B4:45:40############################################
Motherboard assembly number: 73-5750-10                                      
Power supply part number: 34-0965-01
###################################
Motherboard serial number: FOC062403UM######                               
System serial number: FOC0624X14E

--- System Configuration Dialog ---

Would you like to enter the initial configuration dialog? [yes/no]: n                                  
#第七步 选择n然后回车然后我们就会绕过原来的password

Switch>
Switch>
#八  进入特权模式
Switch>en
#这时开机已经忽略了password

Switch#rename flash:config.old flash:config.text
#第九步 恢复交换机配置文件

Destination filename [config.text]?
Switch#copy flash:config.text system:running
Switch#copy flash:config.text system:running-config

#第十步 copy 配置文件到当前系统中

Destination filename [running-config]?
1542 bytes copied in 1.704 secs (1542 bytes/sec)
Switch#

#########################################################################

Current configuration : 1522 bytes                                 
!

#十一步 修改口令

Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.

Switch(config)#username root password cisco
Switch(config)#enable secret cisco
Switch(config)#line cons 0
Switch(config-line)#pass cisco
Switch(config-line)#login
Switch(config-line)#exit
Switch(config)#
-------------

Switch(config)#exit
Switch#
00:05:47: %SYS-5-CONFIG_I: Configured from console by console
Switch#copy run start

#十二步 保存配置

Destination filename [startup-config]?
Building configuration...
[OK]
Switch#
-=--------
Switch#reload
#重新启动

-----------

Press RETURN to get started!

00:00:14: %SPANTREE-5-EXTENDED_SYSID: Extended SysId enabled for type vlan
00:00:17: %SYS-5-CONFIG_I: Configured from memory by console
00:00:17: %SYS-5-RESTART: System restarted --
Cisco Internetwork Operating System Software
IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(9)EA1, RELEASE SOFTWARE (
fc1)
Copyright (c) 1986-2002 by cisco Systems, Inc.
Compiled Wed 24-Apr-02 06:57 by antonino
00:00:18: %LINK-5-CHANGED: Interface Vlan1, changed state to administratively do
wn
00:00:19: %LINEPRO

User Access Verification

Password: TO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to down
Password:
Switch>en
Password:
Switch#

时间: 2024-10-04 08:02:15

cisco 2950 3550 3750 系列交换机密码破解的相关文章

cisco catalyst 4506E交换机密码破解

用户实际环境中的一台思科4506交换机无法登录,由于维护人员也不记得修改后的密码,只能对系统进行破解. 环境: Cisco Catalyst 4506E交换机,引擎为WS-X45-SUP8-E,系统版本是cat4500es8-UNIVERSAL-M 破解步骤: 重启交换机,按ctrl+c中止交换机的启动过程,如下所示: Verifying FPGA (P) Signature ...................... PASSEDVerifying ROMMON (P) Signature

思科交换机密码破解

年纪大了,总是忘记cisco交换机密码,现将我初始化cisco交换机密码的两大步13个小步骤记录如下. A: 1.打开电脑中SecureCRT软件(或者下载windows 7 超级终端 v1.01 绿色版\hypertrm.exe),把port(COM3)和Baud rate(波特率:9600)设置好. 2.拔下交换机的电源. 3.用手按住交换机上的MODE键不动,跟着插上电源. 4.约40-50秒后再松开mode按钮,此时交换机已进入底层配置模式,看到控制台出现进入交换机的ROM状态后(提示符

Cisco交换机密码破解

重启交换机,摁MODE键 switch:flash_init switch:dir flash: switch:rename flash:config.text flash:config.old switch:boot Would you like to enter the initial configuration dialog? [yes/no]: nSwitch>en Switch>enable Switch#dir Directory of flash:/ 2  -rwx       

破解交换机密码

交换机密码破解: 1.进入特权模式设置一个enable 密码 Switch(config)#enable password 123 2.保存 Switch#copy running-config startup-config Switch#write 此时如果密码忘记了,就应该按照以下的方法来破解 1.将交换机重启,立即按交换机上面的 mode 键,直到出现Switch:这种冒号模式就松开Mode键 (中断交换机的启动过程) 2.执行flash_init 就是初始化FLASH 3.重命名配置文件

交换机与路由器密码破解的些许知识点(达内)

交换机密码破解:本质:让交换机在启动过程中查找配置文件的名字的时候,找不到对应文件名的文件(该文件是:config.text)破解步骤: 1.设备加电,并一直不停的按mode 键,设备进入到switch:模式 :2.在 switch: 模式下输入 flash_ init 命令:3.查找.更改并验证配置文件名字已经修改为其他名字:switch: dirswitch: rename {source-file} {destination-file}比如:rename flash: config.tex

思科Nexus 3548密码破解

思科nexus交换机的密码破解与catalyst交换机的密码破解稍有不同,个人感觉nexus交换机的密码破解相对简单一些,下面简单说一下破解过程.连接好console线,接通电源,然后按ctrl+],如下所示:(c) Copyright 2014, Cisco Systems.N3K-C3548P-10GX BIOS v.2.0.6, Wed 12/24/2014, 04:15 PM ERROR: C2:V1050007 I0 93B80003-9FB3-11D4-9A3A-0090273FC1

恢复Cisco 2960交换机密码

重启交换机,按住mode键. flash_init switch: dir flash: switch: rename flash:config.text flash:config.old switch: boot Would you like to enter the initial configuration dialog? [yes/no]: no Switch>en Switch#rename flash:config.old flash:config.text Destination

Cisco Nexus 9000 系列交换机

Cisco Nexus 9000 系列交换机 http://www.cisco.com/c/zh_cn/products/switches/nexus-9000-series-switches/index.html

Cisco 交换机密码重置步骤

Cisco 交换机密码重置步骤 1.PC机有break键的方法 1.1中断设备启动 ctrl+break键 步骤:关闭设备,重启: Self decompressing the image :  启动设备时按ctrl+Break键 ########################## monitor: command "boot" aborted due to user interrupt 1.2更改配置寄存器的值为0x2142 (两个寄存器值:0x2102 (正常),0x2142(不