最新文章专题视频专题问答1问答10问答100问答1000问答2000关键字专题1关键字专题50关键字专题500关键字专题1500TAG最新视频文章推荐1 推荐3 推荐5 推荐7 推荐9 推荐11 推荐13 推荐15 推荐17 推荐19 推荐21 推荐23 推荐25 推荐27 推荐29 推荐31 推荐33 推荐35 推荐37视频文章20视频文章30视频文章40视频文章50视频文章60 视频文章70视频文章80视频文章90视频文章100视频文章120视频文章140 视频2关键字专题关键字专题tag2tag3文章专题文章专题2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章专题3
当前位置: 首页 - 正文

清除交换机console密码

来源:动视网 责编:小OO 时间:2025-10-02 21:17:01
文档

清除交换机console密码

如果用户设置的控制台登录口令丢失,可以通过使用BOOT菜单中的“跳过配置文件启动”功能进行恢复。(1)使用配置线缆将计算机的串口与H3C系列交换机的Console口进行连接,配置终端仿真程序,重新启动交换机。(2)在交换机完成自检后,在下面的界面键入进入BOOT菜单。Boardchecking.......................................LSA1LTSGSDRAMfastselftest......................................
推荐度:
导读如果用户设置的控制台登录口令丢失,可以通过使用BOOT菜单中的“跳过配置文件启动”功能进行恢复。(1)使用配置线缆将计算机的串口与H3C系列交换机的Console口进行连接,配置终端仿真程序,重新启动交换机。(2)在交换机完成自检后,在下面的界面键入进入BOOT菜单。Boardchecking.......................................LSA1LTSGSDRAMfastselftest......................................
如果用户设置的控制台登录口令丢失,可以通过使用BOOT 菜单中的“跳过配置文件启动”功能进行恢复。

(1) 使用配置线缆将计算机的串口与H3C 系列交换机的Console 口进行连接,配置终端仿真程序,重新启动交换机。

(2) 在交换机完成自检后,在下面的界面键入进入BOOT 菜单。

Board checking.......................................LSA1LTSG

SDRAM fast selftest.......................................OK!

Flash fast selftest.......................................OK!

CPLD selftest.............................................OK!

Switch chip selftest......................................OK!

Slot 1/1/1 has no module or get slot type error

Slot 1/1/2 has no module or get slot type error

Slot 1/1/3 has no module or get slot type error

Slot 1/1/4 has no module or get slot type error

PHY selftest..............................................OK!

Please check port leds..............................finished!

The switch Mac is: 000f-e200-3900

Press Ctrl-B to enter Boot Menu... 5

password:

注意:

缺省情况下,进入BOOT 菜单的口令为空。如果用户设置了BOOT 菜单口令,但该口令已经丢失,请与我司技术人员联系。

(3) 进入BOOT 菜单后,键入“7”,选择“跳过配置文件启动”功能。

BOOT MENU

1. Download application file to flash

2. Select application file to boot

3. Display all files in flash

4. Delete file from flash

5. Modify bootrom password

6. Enter bootrom upgrade menu

7. Skip current configuration file

8. Set bootrom password recovery

9. Set switch startup mode

0. Reboot

Enter your choice(0-9): 7

The current setting is running configuration file when reboot.

Are you sure to skip current configuration file when reboot? Yes or No(Y/N)

y

Setting......done!

(4) 回到BOOT 菜单后,输入“0”重新启动交换机。

BOOT MENU

1. Download application file to flash

2. Select application file to boot

3. Display all files in flash

4. Delete file from flash

5. Modify bootrom password

6. Enter bootrom upgrade menu

7. Skip current configuration file

8. Set bootrom password recovery

9. Set switch startup mode

0. Reboot

Enter your choice(0-9): 0

^@System rebooting...

(5) 再次启动时,交换机会跳过配置文件,即跳过对控制台口令的配置,用户可以直接登录交换机。

********************************************************************** 

Copyright (c) 2004-2007 Hangzhou H3C Tech. Co., Ltd.         *

*                           All rights reserved.                                             *

* Without the owner's prior written consent,                                 *

* no decompiling or reverse-engineering shall be allowed.       *

*********************************************************************

Configuration file is skipped.

User interface aux0 is available.

Press ENTER to get started.

(6) 用户登录后,可以使用display startup 命令查看启动配置文件,并使用more命令查看该配置文件中的控制台口令配置。

display startup

Current startup saved-configuration file: NULL

Next startup saved-configuration file: flash:/vrpcfg.cfg

more vrpcfg.cfg

……(略)

#

user-interface aux 0

authentication-mode password

set authentication password simple test

user-interface vty 0 4

authentication-mode none

user privilege level 3

idle-timeout 0 0

#

return

注意:

如果用户设置的口令为明文,则口令将直接显示在配置文件中;如果用户设置了密文的口令,则将显示为转换后的密文字符,此时需要用户自行将密文转换为明文。

(7) 用户可以使用FTP 或TFTP 将启动配置文件发送到PC 上,使用文本编辑软件(例如Windows 系统的“记事本”或“写字板”软件)对配置文件进行编辑,

修改认证口令或修改认证方式为None,再将配置文件上传到交换机上覆盖原有文件。再次启动后,交换机将使用更新后的配置文件,用户可以重新进行口令配置,同时其他原有配置不会丢失。

注意:

以上操作适用于在Password 方式或Scheme 方式中的本地方式下恢复登录口令。如果用户使用Scheme方式中的Radius 方式进行认证,用户的登录口令将在Radius服务器上进行设置,当登录口令丢失或Radius 服务器不可用时,也会造成登录失败;这种情况下,用户可以通过上面描述的方式编辑配置文件,修改认证方式为None,即可跳过认证直接登录,但登录口令需要用户在Radius 服务器上进行恢复。

(8) 需要注意的是,在第三步操作中选择的“跳过配置文件”选项会保存在BootRom 中,如果不进行修改,则此后每次重启设备都会跳过配置文件。因此,需要用户手工重启设备,并再次进入BOOT 菜单选择“跳过配置文件”选项,在提示确认的时候输入“N”,才能恢复启动时加载配置文件。

BOOT MENU

1. Download application file to flash

2. Select application file to boot

3. Display all files in flash

4. Delete file from flash

5. Modify bootrom password

6. Enter bootrom upgrade menu

7. Skip current configuration file

8. Set bootrom password recovery

9. Set switch startup mode

0. Reboot

Enter your choice(0-9): 7

The current setting is running configuration file when reboot.

Are you sure to skip current configuration file when reboot? Yes or No(Y/N)

n

Setting......done!

文档

清除交换机console密码

如果用户设置的控制台登录口令丢失,可以通过使用BOOT菜单中的“跳过配置文件启动”功能进行恢复。(1)使用配置线缆将计算机的串口与H3C系列交换机的Console口进行连接,配置终端仿真程序,重新启动交换机。(2)在交换机完成自检后,在下面的界面键入进入BOOT菜单。Boardchecking.......................................LSA1LTSGSDRAMfastselftest......................................
推荐度:
  • 热门焦点

最新推荐

猜你喜欢

热门推荐

专题
Top