米葫芦网

部分Cisco交换机口令的恢复...

热度:9℃ 发布时间:2023-11-16 19:37:49

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: <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)

网友评论
评论
发 布

更多软件教程
  • 软件教程推荐
更多+
Greenfoot设置中文的方法

Greenfoot设置中文的方法

Greenfoot是一款简单易用的Java开发环境,该软件界面清爽简约,既可以作为一个开发框使用,也能够作为集成开发环境使用,操作起来十分简单。这款软件支持多种语言,但是默认的语言是英文,因此将该软件下载到电脑上的时候,会发现软件的界面语言是英文版本的,这对于英语基础较差的朋友来说,使用这款软件就会...

07-05

Egret UI Editor修改快捷键的方法

Egret UI Editor修改快捷键的方法

Egret UI Editor是一款开源的2D游戏开发代码编辑软件,其主要功能是针对Egret项目中的Exml皮肤文件进行可视化编辑,功能十分强大。我们在使用这款软件的过程中,可以将一些常用操作设置快捷键,这样就可以简化编程,从而提高代码编辑的工作效率。但是这款软件在日常生活中使用得不多,并且专业性...

07-05

KittenCode新建项目的方法

KittenCode新建项目的方法

KittenCode是一款十分专业的编程软件,该软件给用户提供了可视化的操作界面,支持Python语言的编程开发以及第三方库管理,并且提供了很多实用的工具,功能十分强大。我们在使用这款软件进行编程开发的过程中,最基本、最常做的操作就是新建项目,因此我们很有必要掌握新建项目的方法。但是这款软件的专业性...

07-05

Thonny设置中文的方法

Thonny设置中文的方法

Thonny是一款十分专业的Python编辑软件,该软件界面清爽简单,给用户提供了丰富的编程工具,具备代码补全、语法错误显示等功能,非常的适合新手使用。该软件还支持多种语言,所以在下载这款软件的时候,有时候下载到电脑中的软件是英文版本的,这对于英语基础较差的小伙伴来说,使用这款软件就会变得十分困难,...

07-05

最新软件下载