Chinaunix首页 | 论坛 | 博客
  • 博客访问: 516231
  • 博文数量: 184
  • 博客积分: 10010
  • 博客等级: 上将
  • 技术积分: 2490
  • 用 户 组: 普通用户
  • 注册时间: 2008-06-09 11:34
文章分类

全部博文(184)

文章存档

2011年(1)

2010年(2)

2009年(12)

2008年(169)

我的朋友

分类: LINUX

2008-06-09 12:21:59

介:本文描述了Cisco Catalyst 2900xl/3500xl/2950/3550系列交换机的enable密码恢复流程

一、将一台终端或装有超级终端软件的PC接到交换机的console口上。终端参数设置如下:

速率:9600bps

检较位:无

数据位:8

停止位:1

流控:无

二、拨掉电源

三、插上电源,同时按住前面板的mode键不放,等到前面板端口1的LED绿灯灭后松开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

load_helper

boot

四、输入flash_init,回车

五、输入load _helper,回车

六、输入dir flash:,回车

注意:不要少了flash后面的冒号,屏幕出现如下提示。

Directory of flash:

2 -rwx 843947 Mar 01 1993 00:02:18 C2900XL-c3h2s-mz-12.1-WC5.bin

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)

七、输入rename flash:config.text flash:config.old,回车

八、输入boot,回车后重新引导系统。

九、当出现如下提示时,输入n:

Continue with the configuration dialog? [yes/no] : n

十、用en进入enable状态,并将文件config.old改回config.text,命令如下:

rename flash:config.old flash:config.text

十一、将原配置装入内存,命令如下:

2900# copy flash:config.text system:running-config

十二、修改密码:

2900xl#conf t

2900xl(config)#enable secret (new password)

2900xl(config)#exit

十三、退出到用户模式,按en进enable状态,验证密码是否修改成功

十四、将配置写入nvram

2900xl#write



这样的话,交换机的新密码就可以恢复到用户设定的字符。
阅读(548) | 评论(0) | 转发(0) |
0

上一篇:scp及ssh格式

下一篇:AS4下配置dhcp

给主人留下些什么吧!~~