2021

您所在的位置:网站首页 1921681253登录口 2021

2021

2024-01-17 23:25| 来源: 网络整理| 查看: 265

一、华为交换机console默认登录账号密码

常用华为交换机console登录密码:[email protected]  、[email protected]、  Huawei12#$ 、huawei@123  、huawei12#$

CE系列交换机一般初次不设置密码,初始登录要求用户设备console密码,所以必需把设置密码记录下来,如果忘记密码,尝试以下方法找回密码

恢复Console口登录密码

如果忘记了Console口登录密码或者希望修改Console口登录密码,用户可以通过以下两种方式来设置新的Console口登录密码。

通过STelnet/Telnet登录交换机设置新的Console口登录密码

使用Telnet协议存在安全风险,建议用户使用STelnet V2登录设备。

这种方法的前提是:用户拥有STelnet/Telnet账号并且具有管理员的权限。以下涉及的命令行及回显信息以STelnet登录设备修改Console口密码为例。用户通过STelnet账号登录交换机后,请按照如下步骤进行配置。

# 以登录用户界面的认证方式为密码认证,密码为Huawei@123为例,配置如下。

system-view [HUAWEI] user-interface console 0 [HUAWEI-ui-console0] authentication-mode password [HUAWEI-ui-console0] set authentication password cipher Huawei@123 [HUAWEI-ui-console0] return save

# 以登录用户界面的认证方式为AAA认证,用户名为admin123,密码为Huawei@123为例,配置如下。

system-view [HUAWEI] user-interface console 0 [HUAWEI-ui-console0] authentication-mode aaa [HUAWEI-ui-console0] quit [HUAWEI] aaa [HUAWEI-aaa] local-user admin123 password irreversible-cipher Huawei@123 [HUAWEI-aaa] local-user admin123 service-type terminal [HUAWEI-aaa] return save

通过BootLoad清除Console口登录密码

多台设备堆叠情况下,先将成员交换机下电,在主交换机上完成以下操作后,执行save命令,以保证启动其他成员设备后能同步主交换机上的配置。

交换机的BootLoad提供了清除Console口登录密码的功能,用户可以在交换机启动后修改Console口登录密码,然后保存配置。请按照如下步骤进行配置。

通过Console口连接交换机,并重启交换机。当界面出现以下打印信息时,及时按下快捷键“Ctrl+B”或者“Ctrl+E”并输入BootLoad密码,进入BootLoad主菜单。

Press Ctrl+B or Ctrl+E to enter BootLoad menu ... 2 password: //输入BootLoad密码

某些款型支持使用快捷键“Ctrl+E”进入BootLoad主菜单,请根据设备的界面提示操作。

不同版本和不同形态的设备回显有差异,请以实际设备显示为准。

缺省情况下,在V100R006C05之前的版本,BootLoad默认密码为huawei;在V100R006C05-V200R019版本,默认密码为[email protected];V200R020及之后版本的BootLoad未设置密码。

在BootLoad主菜单下选择“Clear password for console user”清除Console口登录密码。根据交换机的提示,在BootLoad主菜单下选择“Boot with default mode”启动设备。

请注意,此处不要选择“Reboot”选项,否则此次清除密码将失效。

完成系统启动后,通过Console口登录时不需要认证,登录后按照系统提示配置验证密码。(V200R009及之后版本,完成系统启动后,通过Console口登录时认证方式为None,系统启动后不会提示配置验证密码。)登录交换机后,用户可以根据需要配置Console用户界面的认证方式及密码

 

 

 

 

 

二、适用产品和版本

CE系列交换机V200R005C10及之前版本。

如果需要了解软件版本与交换机具体型号的配套信息,请查看硬件查询工具。

组网需求

用户的Console口登录密码遗忘导致登录不了设备时,可以通过BIOS/BootLoader菜单清除Console口用户登录密码。

如图1所示,设备与用户侧主机PC相连。

注意事项

通过BIOS/BootLoader清除Console口密码,有以下注意事项:

Mini USB/Micro USB口和Console口功能相同,本例也可使用Mini USB/Micro USB口。使用Mini USB/Micro USB时,需要先在PC上安装Mini USB/Micro USB口的驱动程序,并使Mini USB/Micro USB线缆将PC和设备相连。

本例实物图是以CE12800系列产品举例。对于CE8800&7800&6800&5800系列产品,请依据实际产品接口进行连线。

通过BIOS/BootLoader清除Console口密码后,通过Console口登录时不需要认证。但是该配置只针对此次启动的设备有效,当设备再次启时通过Console口登录时仍然需认证。建议用户通过BIOS/BootLoader清除Console口密码后及时修改Console口密码,并保存配置。

BootLoader菜单与BIOS菜单操作步骤相似,本例以V200R001C00版本的BIOS菜单为例。

配置思路

通过BIOS清除Console口密码的配置思路如下:

通过Console口登录连接设备。重启设备,进入BIOS菜单。选择修改Console口用户登录密码选项,清除Console口密码后继续启动设备。设备完成启动后,修改Console口密码,为了防止设备重启后配置丢失,保存设备的配置。

操作步骤

通过Console口连接设备。重启设备,在设备出现以下提示信息时按Ctrl+B,进入BIOS主菜单。

 

Starting ... Press CTRL+B to enter BIOS menu: 1 //在3秒内按Ctrl+B系统会进入BIOS菜单,超出3秒系统会继续启动。 Password: //输入BIOS菜单的密码。从V200R005C20、V200R019C00版本开始,如果是预设密码,需要修改BIOS密码。 BIOS Menu (Version: 126) 1. Continue to boot 2. Update from serial interface 3. Update from ethernet interface 4. Modify startup parameters 5. File system 6. Modify stack parameters 7. Modify BIOS password 8. Modify console password //从V200R005C20、V200R019C00版本开始,没有此选项。 9. Restore factory defaults 10. Reboot Enter your choice(1-10):

仅SVF中支持作为叶子交换机的设备上,BIOS菜单中有工作模式选择菜单项“6. Modify stack parameters”。

在BIOS主菜单中,选择“Modify console password”,修改Console口用户登录密码。

 

BIOS Menu (Version: 126) 1. Continue to boot 2. Update from serial interface 3. Update from ethernet interface 4. Modify startup parameters 5. File system 6. Modify BIOS password 7. Modify console password 8. Restore factory defaults 9. Reboot Enter your choice(1-10): 7 Caution: A new console password must be set after the restart. Continue now? Yes(y) or No(n): 在修改Console口用户登录密码中,选择y后,设备将会继续启动。

 

Caution: A new console password must be set after the restart. Continue now? Yes(y) or No(n): y Password: //从V200R019C10版本开始,需输入BootLoader密码,如果BootLoader密码为空则无需输入 设备完成启动后,通过Console口登录时不需要认证,并且登录后请及时修改Console口密码。

 

不同版本修改Console口密码的方式不同:

V100R001C00版本

system-view [~HUAWEI] user-interface console 0 [~HUAWEI-ui-console0] authentication-mode password Please configure the login password (6-16) Enter Password: Confirm Password: [~HUAWEI-ui-console0] commit [~HUAWEI-ui-console0] return

V100R002C00或更高版本

system-view [~HUAWEI] user-interface console 0 [~HUAWEI-ui-console0] authentication-mode password [~HUAWEI-ui-console0] set authentication password Please configure the login password (8-16) Enter Password: Confirm Password: [~HUAWEI-ui-console0] commit [~HUAWEI-ui-console0] return

不同版本保存配置文件的提示信息不同:

V100R001C00版本

save Warning: The current configuration will be written to the device. Are you sure to continue? [Y/N]:y Now saving the current configuration to the slot 1 Info: Save the configuration successfully.

V100R002C00或更高版本

save Warning: The current configuration will be written to the device. Continue? [Y/N]:y Now saving the current configuration to the slot 1 Info: Save the configuration successfully.

验证

 



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3