.Cisco 路由器、交换机密码恢复

简介:
 
 
cisco catalyst2900、3500系列交换机密码破解方法
  
1.拔掉交换机的电源线 
 
2。用超级终端和控制线连到交换机,超级终端的设置是: 
9600 baud rate 
No parity 
8 data bits 
1 stop bit 
No flow control 
 
3。按住交换机前面板的“mode”按钮,插上电源线,当端口1上面的灯不亮后,放松“mode”按钮; 
 
4。这时超级终端上应该显示: 
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 
load_helper 
boot 
 
5。输入flash_init 
 
6。输入load_helper 
 
7. 输入dir flash: 
这时显示: 
Directory of flash: 
2 -rwx 843947 Mar 01 1993 00:02:18 C2900XL-h-mz-112.8-SA 
4 drwx 3776 Mar 01 1993 01:23:24 html 
66 -rwx 130 Jan 01 1970 00:01:19 env_vars 
68 -rwx 1296 Mar 01 1993 06:55:51 config.text 
1728000 bytes total (456704 bytes free) 
 
8。输入rename flash:config.text flash:config.old 
 
9.输入boot,重新启动系统 
 
10。系统启动完后显示:Continue with the configuration dialog? 
[yes/no] : 
输入N 
 
11.输入enable 
 
12.进入enable模式后,输入rename flash:config.old flash:config.text 
 
13。接着按以下步骤操作: 
 
Switch# copy flash:config.text system:running-config 
Source filename [config.text]? (press Return) 
Destination filename [running-config]? (press Return) 
14 。接着按以下步骤操作: 
switch#configure terminal 
switch(config)#no enable secret 
switch(config)#no enable password 



路由器口令破解 
1、启动路由器,在30秒那按ctrl+break,进入rommon模式 
System Bootstrap, Version 12.1(3r)T2, RELEASE SOFTWARE (fc1) 
Copyright (c) 2000 by cisco Systems, Inc. 
C2600 platform with 65536 Kbytes of main memory 
PC = 0xfff0ab6c, Vector = 0x500, SP = 0x80004884 
monitor: command "boot" aborted due to user interrupt 
rommon 1 > 
2、然后输入 
rommon 1 > confreg 0x2142 
You must reset or power cycle for new config to take effect 
rommon 2 > reset 
3、路由器会重新启动 
System Bootstrap, Version 12.1(3r)T2, RELEASE SOFTWARE (fc1) 
Copyright (c) 2000 by cisco Systems, Inc. 
C2600 platform with 65536 Kbytes of main memory 
program load complete, entry point: 0x80008000, size: 0x8a7f8c 
Self decompressing the image : 
中间引导过程忽略。。。。。 
--- System Configuration Dialog --- 
Would you like to enter the initial configuration dialog? [yes/no]: 
4、按ctrl+c 
Press RETURN to get started! 
Router> 
Router>enable 
Router#copy startup-config running-config 
Destination filename [running-config]? 
816 bytes copied in 0.884 secs 
router1# 
router1#conf t 
Enter configuration commands, one per line. End with CNTL/Z. 
router1(config)# 
router1(config)#enable secret cisco 

router1(config)#enable password 12345 

router1(config)#line con 0 
router1(config-line)#login 
router1(config-line)#password cisco 
router1(config-line)#exit 

router1(config)#line aux 0 
router1(config-line)#login 
router1(config-line)#password cisco 
router1(config-line)#exit 

router1(config)#line vty 0 4 
router1(config-line)#login 
router1(config-line)#password cisco 
router1(config-line)#exit 

router1(config)#config-register 0x2102 

router1(config)#exit 
router1# 

router1#copy running-config startup-config 
Destination filename [startup-config]? 
Building configuration... 
[OK]
本文转自zcm8483 51CTO博客,原文链接:http://blog.51cto.com/haolun/993048

相关文章
|
5月前
|
网络协议 网络安全 网络虚拟化
本文介绍了十个重要的网络技术术语,包括IP地址、子网掩码、域名系统(DNS)、防火墙、虚拟专用网络(VPN)、路由器、交换机、超文本传输协议(HTTP)、传输控制协议/网际协议(TCP/IP)和云计算
本文介绍了十个重要的网络技术术语,包括IP地址、子网掩码、域名系统(DNS)、防火墙、虚拟专用网络(VPN)、路由器、交换机、超文本传输协议(HTTP)、传输控制协议/网际协议(TCP/IP)和云计算。通过这些术语的详细解释,帮助读者更好地理解和应用网络技术,应对数字化时代的挑战和机遇。
310 3
|
6月前
|
安全 网络协议 网络安全
|
6月前
|
安全 网络安全 网络虚拟化
Cisco-交换机划分Vlan
Cisco-交换机划分Vlan
|
6月前
|
安全 网络协议 网络虚拟化
|
6月前
|
网络协议 网络虚拟化 网络架构
【网络实验】/主机/路由器/交换机/网关/路由协议/RIP+OSPF/DHCP(上)
【网络实验】/主机/路由器/交换机/网关/路由协议/RIP+OSPF/DHCP(上)
126 1
|
6月前
|
安全 网络安全 网络虚拟化
Cisco-三层交换机实现VLAN间路由
Cisco-三层交换机实现VLAN间路由
127 0
|
6月前
|
安全 网络安全 数据安全/隐私保护
Cisco-交换机配置聚合端口
Cisco-交换机配置聚合端口
112 0
|
6月前
|
网络协议 数据安全/隐私保护 网络虚拟化
【网络实验】/主机/路由器/交换机/网关/路由协议/RIP+OSPF/DHCP(下)
【网络实验】/主机/路由器/交换机/网关/路由协议/RIP+OSPF/DHCP(下)
120 0
|
5月前
|
网络协议 安全 网络虚拟化
思科交换机配置命令归纳
【11月更文挑战第8天】本文总结了思科交换机的常见配置命令,包括模式转换、基本配置、查看命令、VLAN 配置、Trunk 配置、以太网通道配置、VTP 配置、三层交换机配置、生成树配置以及其他常用命令,适用于网络管理和维护。
441 2
|
9月前
|
网络安全 数据安全/隐私保护 网络虚拟化