免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2274 | 回复: 1
打印 上一主题 下一主题

如何恢复cisco5500交换机的密码? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-02-15 09:29 |只看该作者 |倒序浏览
我的cisco5500交换机密码丢失了,请教恢复方法?

论坛徽章:
0
2 [报告]
发表于 2003-02-15 12:46 |只看该作者

如何恢复cisco5500交换机的密码?

Password Recovery Procedure
for the Catalyst 1200, 2900, 2926, 4000, 5000, 5500, 6000

--------------------------------------------------------------------------------

Contents
Description
Step-by-Step Procedure
Sample Output of a Password Recovery Procedure
Related Information


--------------------------------------------------------------------------------

Description
This document describes the password recovery procedure for the following Cisco products:

Catalyst 1200
Catalyst 2900
Catalyst 2926
Catalyst 4000
Catalyst 5000
Catalyst 5500
Catalyst 6000


Step-by-Step Procedure
Attach a terminal or PC with terminal emulation to the console port of the switch. Use the following terminal settings:
9600 baud rate
no parity
8 data bits
1 stop bit

Turn off the switch and then turn it on.
Important You must complete steps 3 through 7 within 30 seconds after you turn the switch off and on and the first time you see the password prompt.

Press Enter at the password prompt to enter a null password.
Type enable at the prompt to enter enable mode.
Press Enter at the password prompt to enter a null password.
Change the password using the set password command or the set enablepass command.
Press Enter at the prompt to enter the old password.
set password
Use the set password command to change the login password on the CLI.

set password


Syntax Description
This command has no arguments or keywords.

Default
The default configuration has no password configured.

Command Type
Switch command.

Command Mode
Privileged.

Usage Guideline
The command prompts you for the old password. If the password you enter is valid, you are prompted to enter a new password and to verify the new password. A zero-length password is allowed by pressing Return.

Example
This example shows how to set an initial password:

Console>; (enable) set password
Enter old password: <old_password>;
Enter new password: <new_password>;
Retype new password: <new_password>;
Password changed.
Console>; (enable)



set enablepass
Use the set enablepass command to change the password for the privileged level of the CLI.

 

set enablepass


Syntax Description
This command has no arguments or keywords.

Default
The default configuration has no enable password configured.

Command Type
Switch command.

Command Mode
Privileged.

Usage Guideline
The command prompts you for the old password. If the password you enter is valid, you are prompted to enter a new password and to verify the new password. A zero-length password is allowed.

Example
This example shows how to establish a new password:

Console>; (enable) set enablepass
Enter old password: <old_password>;
Enter new password: <new_password>;
Retype new password: <new_password>;
Password changed.
Console>; (enable)









Sample Output of a Password Recovery Procedure
Console>;en
Enter password:
Sorry
Console>;

!--- The switch is being power cycled.
!

System Bootstrap, Version 5.2(1)CSX
Copyright (c) 1994-1999 by cisco Systems, Inc.
c6k_sup1 processor with 65536 Kbytes of main memory

Autoboot executing command: "boot bootflash:cat6000-sup.5-3-3-CSX.bin"

Uncompressing file: #####################################################
#########################################################################
#########################################################################
#########################################################################
#########################################################################
#########################################################################
#########################################################################
#########################################################################
#########################################################################
#########################################################################
#########################################################################
#########################################################################
#########################################################################
#########################################################################
#########################################################################
##########################################################

System Power On Diagnostics
DRAM Size ....................64 MB
Testing DRAM..................Passed
Verifying Text segment .......Passed
NVRAM Size ...................512 KB
Saving NVRAM .................Done
Testing NVRAM ................Passed
Restoring NVRAM ..............Done
Level2 Cache .................Present
Testing Level2 Cache .........Passed

System Power On Diagnostics Complete

Boot image: bootflash:cat6000-sup.5-3-3-CSX.bin

Running System Diagnostics from this Supervisor (Module 1)
This may take up to 2 minutes....please wait


Cisco Systems Console


NTP: Previous SW using local time...
Enter password: (press Enter)

2000 Jan 09 23:09:27 %SYS-1-SYS_NORMPWRMGMT:System in normal power management operation
2000 Jan 09 23:09:27 %SYS-5-MOD_PWRON:Module 3 powered up
2000 Jan 09 23:09:27 %SYS-5-MOD_PWRON:Module 4 powered up
2000 Jan 09 23:09:34 %SYS-5-MOD_OK:Module 1 is online

Console>; en
Enter password: (press Enter)
Console>; (enable) set password
Enter old password: (press Enter)
Enter new password: (type your new password)
Retype new password: (type your new password)
Password changed.

Console>; (enable) set enablepass

Enter old password: (press Enter)
Enter new password: (type your new password)
Retype new password: (type your new password)

Password changed.
Console>; (enable)
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP