CISCO交换机恢复密码方法

王朝厨房·作者佚名  2007-01-05
宽屏版  字体: |||超大  

摘要:CISCO交换机恢复密码方法

1、 设置WINDOWS超级终端,名称自定义:

波特率(每秒位数):9600

数据位:8

奇偶校验:无

停止位:1

数据流控制:硬件或无

2、拔下交换机的电源线。

3、重新连接交换机电源的同时按住交换机前面板上的mode(模式)键,直到交换机上1X端口指示灯不再亮(大约15~20秒)。将出现以下信息:

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、在switch>提示符下键入flash_init,进行初始化;

5、switch>load_helper

6、switch>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.text1728000 bytes total (456704 bytes free)

7、switch>rename flash:config.text flash:config.old

把配置文件更名后,在switch>下键入boot引导设备,在系统开始进行设置的时候,按N键,设置完成后,出现如下信息:

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

键入n

8、出现switch>提示符后,键入en进入配置模式

9、重新命名配置文件:

switch> rename flash:config.old flash:config.text

10、拷贝配置文件到内存中

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

Destination filename [running-config]? (press Return)

按回车键,将配置文件重新装入。

11、改变口令

switch#config terminal

switch(config)#enable password Cisco

12、将当前配置写入配置文件

switch(config)#write mem

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
© 2005- 王朝网络 版权所有