Cisco交换机口令的恢复(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:
Enter new password:
Retype 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:
Enter new password:
Retype 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: #####################################################
#########################################################################
#########################################################################
#########################################################################
#########################################################################
#########################################################################
#########################################################################
#########################################################################
#########################################################################
推荐阅读
- 交换机配置清单
- 二层、三层、四层交换机的区别
- 交换机的常见故障轻松排除
- Cisco2950交换机配置VLAN的比较
- 什么是交换机?
- 3Com CoreBuilder 3500 交换机
- SPAN 交换机配置配置镜像
- 交换机配置IP访问控制列表 Cisco6509
- 中文 Cisco4006交换机简明配置手册
- 千兆交换机选购之“先”人指路