计算机网络安全资讯站点
文字横幅以及760*60黄金广告位置招租,欢迎恰谈! 广告业务联系QQ:8019399 声明:在本站所投放广告内容均与本站立场无关!

您现在的位置: 中国安全在线 >> 攻防技术 >> 技巧知识 >> 文章正文 用户登录 新用户注册
专 题 栏 目
最 新 热 门
最 新 推 荐
相 关 文 章
用Visual C++编程窃取QQ密码
纯脚本套牢你的动态ip肉鸡
把被盗QQ号里的好友全部找回来
QQ原来隐藏着这么多秘密十二条
135批量抓肉鸡 批量开TELNET
通过命令限制上网用户的权限
DLL木马进程内幕大揭密
系统泄露密码入侵攻击分析
QQ的一些技巧
黑客窃取QQ常用密码排行榜
Cisco Catalyst交换机密码恢复方法
作者:佚名 来源:安全在线 更新时间:2007-9-23 8:51:24 【字体:
<%=(int(rnd()*1)+1)%>您当前的位置:中国安全在线cnsafer.com 请进入[技术论坛]发表评论

1.拔下交换机的电源线,然后按住交换机的Mode按钮,再重新插上交换机的电源线。直到端口Port 1x的LED熄灭之后释放Mode按钮。
2.对于Catalyst 2940/2950L系列来说:
拔下交换机的电源线,然后按住交换机的Mode按钮,再重新插上交换机的电源线。直到STAT的LED熄灭之后释放Mode按钮。
3.对于Catalyst 2955系列来说:
Catalyst 2955没有没有外部的Mode按钮,因此就不能使用之前的那种方法来进行密码恢复。在交换机启动时,对于Windows系列的PC,按下Ctrl+Break键;对于UNIX系列的工作站,按下Ctrl+C。如下:
C2955 Boot Loader (C2955?HBOOT?M) Version 12.1(0.0.514), CISCO DEVELOPMENT TEST
VERSION
Compiled Fri 13?Dec?02 17:38 by madison
WS?C2955T?12 starting...
Base ethernet MAC Address:00:0b:be:b6:ee:00
Xmodem file system is available.
Initializing Flash...
flashfs[0]:19 files, 2 directories
flashfs[0]:0 orphaned files, 0 orphaned directories
flashfs[0]:Total bytes:7741440
flashfs[0]:Bytes used:4510720
flashfs[0]:Bytes available:3230720
flashfs[0]:flashfs fsck took 7 seconds.
...done initializing flash.
Boot Sector Filesystem (bs:) installed, fsid:3
Parameter Block Filesystem (pb:) installed, fsid:4
/---接下来交换机会在15秒内自动启动,等出现该信息之后,按下Ctrl+Break键或Ctrl+C键----/
The system has been interrupted prior to initializing the flash file system to finish
loading the operating system software:
flash_init
load_helper
bootswitch:
  
接下来输入flash_init命令:
switch:flash_init
Initializing Flash...
flashfs[0]:143 files, 4 directories
flashfs[0]:0 orphaned files, 0 orphaned directories
flashfs[0]:Total bytes:3612672
flashfs[0]:Bytes used:2729472
flashfs[0]:Bytes available:883200
flashfs[0]:flashfs fsck took 86 seconds
....done Initializing Flash.
Boot Sector Filesystem (bs:) installed, fsid:3
Parameter Block Filesystem (pb:) installed, fsid:4
switch:
接着输入load_helper命令:
switch:load_helper
switch:
再输入dir flash:命令显示交换机的文件系统:
switch:dir flash:
Directory of flash:/
2 ?rwx 1803357 c3500xl?c3h2s?mz.120?5.WC7.bin
4 ?rwx 1131 config.text
5 ?rwx 109 info
6 ?rwx 389 env_vars
7 drwx 640 html
18 ?rwx 109 info.ver
403968 bytes available (3208704 bytes used)
switch:
  
把配置文件重命名:
switch:rename flash:config.text flash:config.old
switch:
输入boot命令启动交换机:
switch:boot
Loading "flash:c3500xl?c3h2s?mz.120?5.WC7.bin"...###############################
################################################################################
######################################################################
File "flash:c3500xl?c3h2s?mz.120?5.WC7.bin" uncompressed and installed, entry po
int:0x3000
executing...
  
不进入setup模式:
??? System Configuration Dialog ???
At any point you may enter a question mark '?' for help.
Use ctrl?c to abort configuration dialog at any prompt.
Default settings are in square brackets '[]'.
Continue with configuration dialog? [yes/no]:n
  
进入特权模式,恢复原始的配置文件:
Switch#rename flash:config.old flash:config.text
Destination filename [config.text]
Switch#
  
把配置文件保存在内存里:
Switch#copy flash:config.text system:running?config
Destination filename [running?config]?
1131 bytes copied in 0.760 secs
Switch#
  
进入全局配置模式,取消密码设置:
Switch(config)#no enable secret
  
保存配置:
Switch#write memory
Building configuration...
[OK]
Switch#
    
4。对于Catalyst 3550/3750系列来说:
1.通过带有支持Xmodem协议的超级终端程序的PC连接到交换机的console口,把波特率设置为9600。
2.拔掉交换机的电源。
3.按下交换机上的Mode按钮,与此同时,重新插上交换机的电源线。当交换机端口1X上的LED熄灭后可以松开Mode按钮1到2秒。之后将显示一些指示信息:
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
switch#
4.初始化flash文件系统:
switch#flash_init
5.加载帮助文件:
switch#load_helper
6.显示闪存里的内容:
switch#dir flash:
7.重命名配置文件:
switch#rename flash:config.text flash:config.text.old
8.启动系统,并且如果提示进入setup模式,输入N:
switch#boot
Continue with the configuration dialog? [yes/no]:N
9.进入特权模式,把配置文件名恢复为原始文件名:
Switch#rename flash:config.text.old flash:config.text
10.把配置文件写进内存:
Switch#copy flash:config.text system:running-config
Source filename [config.text]?
Destination filename [running-config]?
11.进入全局配置模式更改密码:
Switch(config)#enable secret {password}
12.退出,并保存到startup-config文件里:
Switch(config)#copy running-config startup-config

您对本文章有什么意见或着疑问吗?请到论坛讨论您的关注和建议是我们前行的参考和动力

文章录入:ls1238    责任编辑:ls1238 
  • 上一篇文章:

  • 下一篇文章:
  • 【字体: 】【发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口
    网友评论:(只显示最新10条。评论内容只代表网友观点,与本站立场无关!)
    | 设为首页 | 加入收藏 | 联系方式 | 友 情链接 | 关于我们 | 网站留言 |
    Copyright ?2003-2007 www.cnsafer.com All Rights Reserved.
    如有意见请与我们联系 Email:admin#mail.cnsafer.com 联系QQ:8589101
    友情提示:建议使用IE6.0版本, 分辩率1024*768进行浏览
    中国安全在线 敢想 敢做 挑战自我 努力做最好
    中网科技有限公司 技术支持 鄂ICP备05006475号