您需要了解如何登录设备以及如何通过Console口连接设备。
如果PC使用系统自带的终端仿真软件,则无需另行准备;如果系统不带终端仿真软件,请您准备第三方终端仿真软件,使用方法请参照该软件的使用指导或联机帮助。
通信参数设置如下所示:
设备提供如下方法可以恢复Console口密码。
序号 |
方法 |
适用产品 |
适用版本 |
|---|---|---|---|
1 |
AC、FAT AP、云AP |
AC:V200R001C00及之后版本 FAT AP:V200R003C00及之后版本 云AP:V200R007C10及之后版本 |
|
2 |
AC |
V200R003C00及之后版本 |
|
3 |
FIT AP |
所有版本 |
|
4 |
FIT AP |
V200R003C00-V200R019C00 |
|
5 |
FAT AP、云AP |
|
|
6 |
FAT AP、FIT AP、云AP |
V200R019C10及之后版本 |
|
7 |
AT |
V200R005C10及之后版本 |
如果用户拥有Telnet或STelnet账号,并且具有15级权限,则可以通过Telnet或STelnet登录到设备后修改Console口密码,然后保存配置。以下步骤以Telnet为例。
<Huawei> system-view [Huawei] user-interface console 0 [Huawei-ui-console0] authentication-mode password [Huawei-ui-console0] set authentication password cipher Enter Password(<6-16>): //此处提示信息以设备实际显示为准 Confirm Password: [Huawei-ui-console0] return
设备的BIOS提供了配置跳过Console口密码启动的功能,可以在用户使用Console口登录的时候跳过密码检查。这样系统启动后除了不需要输入Console密码外,与正常启动相同,也会完成所有配置加载。设备启动后修改Console口密码,然后保存配置。
用串口线连接设备的方法请参见通过Console口连接设备。
不同版本的BootROM密码可能不同,具体可参见AC和AP的缺省用户名和密码。
<Huawei> system-view [Huawei] user-interface console 0 [Huawei-ui-console0] authentication-mode password [Huawei-ui-console0] set authentication password cipher Enter Password(<6-16>): //此处提示信息以设备实际显示为准 Confirm Password: [Huawei-ui-console0] return
FIT AP仅支持单用户,即Console口用户、Telnet用户、SSH用户和Web用户均指同一个用户。
如果密码丢失但是FIT AP已经在AC上上线,可以通过如下方法修改或恢复FIT AP用户密码:
通过AC下发配置的方式修改FIT AP用户名和密码,AC会自动将修改后的配置下发到AP,并会对所有AP生效。
<AC> system-view [AC] wlan [AC-wlan-view] ap username admin password cipher Enter the password (plain-text password of 8-32 characters or cipher-text password of 48 or 68 characters): Confirm password:
<AC> system-view [AC] wlan [AC-wlan-view] undo ap username
FIT AP仅支持单用户,即Console口用户、Telnet用户和SSH用户均指同一个用户。如果密码丢失且FIT AP没有在AC上上线,可以进入UBoot将设备的用户名和密码重置为缺省值。
用串口线连接设备的方法请参见通过Console口连接设备。
不同版本的BootROM密码可能不同,具体可参见AC和AP的缺省用户名和密码。
ar7240> defaultuser Start setting whether to Change Password..... Current Bootup Change PW is N Do you Want To Change The Default password, Y or N : Y ar7240>
ar7240> reset Resetting...
系统启动完成,设备的用户名和密码恢复为缺省值。
设备的uBoot提供了配置跳过Console口密码启动的功能,可以在用户使用Console口登录的时候跳过密码检查。这样系统启动后除了不需要输入Console密码外,与正常启动相同,也会完成所有配置加载。设备启动后修改Console口密码,然后保存配置。
用串口线连接设备的方法请参见通过Console口连接设备。
不同版本的BootROM密码可能不同,具体可参见AC和AP的缺省用户名和密码。
ar7240> defaultuser Start setting whether to Change Password..... Current Bootup Change PW is N Do you Want To Change The Default password, Y or N : Y ar7240>
ar7240> reset Resetting...
<Huawei> system-view [Huawei] user-interface console 0 [Huawei-ui-console0] authentication-mode password [Huawei-ui-console0] set authentication password cipher Enter Password(<6-16>): //此处提示信息以设备实际显示为准 Confirm Password: [Huawei-ui-console0] return
设备的BootLoader提供了配置跳过蓝牙串口密码启动的功能,可以在用户使用蓝牙串口登录的时候跳过密码检查。这样系统启动后除了不需要输入蓝牙串口密码外,与正常启动相同,也会完成所有配置加载。设备启动后修改蓝牙串口密码,然后保存配置。
通过蓝牙串口方式连接设备的方法请参见通过蓝牙串口方式连接AP。
输入y后,设备会自动重启。
Caution: A new console password must be set after the restart. Continue now? Yes(y) or No(n): y Clear Console Lockword Successfully.
<Huawei> system-view [Huawei] user-interface console 0 [Huawei-ui-console0] authentication-mode password [Huawei-ui-console0] set authentication password irreversible-cipher New Password: //此处提示信息以设备实际显示为准 Confirm New Password: [Huawei-ui-console0] return
<Huawei> system-view [Huawei] diagnose [Huawei-diagnose] reset login password Warning: The password used for login through the console port, Telnet, HTTP and SSH will be restored to the factory default. Continue? [Y/N]y Info: Succeeded in setting password to default password. Username:admin Password: //输入默认密码 Warning: The default password poses security risks. It is recommended that the user name and password of the AP be changed using the 'ap username' command in the WLAN view of the AC. Alternatively, directly change the command here. Enter the password (plain-text password of 8-128 characters or cipher-text password of 48-188 characters that must contain at least one lowercase letter, one uppercase letter, and one digit): //配置新的密码 Confirm New Password:
AT仅支持单用户,即Console口用户、Telnet用户和SSH用户均指同一个用户。如果密码丢失,可以进入UBoot将设备的用户名和密码重置为缺省值。
用串口线连接设备的方法请参见通过Console口连接设备。
不同版本的BootROM密码可能不同,具体可参见AC和AP的缺省用户名和密码。
ar7240> defaultuser Start setting whether to Change Password..... Current Bootup Change PW is N Do you Want To Change The Default password, Y or N : Y ar7240>
ar7240> reset Resetting...
<AT815SN> system-view [AT815SN] local-user huawei password cipher New Password(<8-16>/<56>): Confirm Password: [AT815SN] quit
设备提供如下方法可以恢复Telnet或STelnet用户密码。
序号 |
方法 |
适用产品 |
适用版本 |
|---|---|---|---|
1 |
AC、FAT AP、云AP |
AC:V200R001C00及之后版本 FAT AP:V200R003C00及之后版本 云AP:V200R007C10及之后版本 |
|
2 |
FIT AP |
所有版本 |
|
3 |
FIT AP |
V200R003C00-V200R019C00 |
|
4 |
FIT AP |
V200R019C10及之后版本 |
|
5 |
AT |
V200R005C10及之后版本 |
对于FIT AP,如果已经在AC上上线请使用方法2;如果没有在AC上上线请使用方法3或方法4。
Telnet或STelnet协议可以对设备进行远程维护和管理,如果Telnet或STelnet密码丢失,可以通过如下方法重新配置:
目前系统支持Telnet和STelnet登录的2种验证方式:
这里以对VTY0~4进行相同的配置为例。
<Huawei> system-view
[Huawei] telnet server enable
[Huawei] user-interface vty 0 4
[Huawei-ui-vty0-4] authentication-mode aaa
[Huawei-ui-vty0-4] protocol inbound all
[Huawei-ui-vty0-4] quit
[Huawei] aaa
[Huawei-aaa] local-user huawei password cipher YsHsjx_202206
[Huawei-aaa] local-user huawei service-type telnet ssh
[Huawei-aaa] local-user huawei privilege level 15
该配置完成后用户可以使用用户名“huawei”,密码“YsHsjx_202206”登录设备。
<Huawei> system-view [Huawei] telnet server enable [Huawei] user-interface vty 0 4 [Huawei-ui-vty0-4] authentication-mode password [Huawei-ui-vty0-4] protocol inbound all [Huawei-ui-vty0-4] set authentication password cipher Enter Password(<6-16>): //此处提示信息以设备实际显示为准 Confirm Password: [Huawei-ui-vty0-4] return
该配置完成后用户可以输入密码“YsHsjx_202206”登录设备。
FIT AP仅支持单用户,即Console口用户、Telnet用户、SSH用户和Web用户均指同一个用户。
如果密码丢失但是FIT AP已经在AC上上线,可以通过如下方法修改或恢复FIT AP用户密码:
通过AC下发配置的方式修改FIT AP用户名和密码,AC会自动将修改后的配置下发到AP,并会对所有AP生效。
<AC> system-view [AC] wlan [AC-wlan-view] ap username admin password cipher Enter the password (plain-text password of 8-32 characters or cipher-text password of 48 or 68 characters): Confirm password:
<AC> system-view [AC] wlan [AC-wlan-view] undo ap username
FIT AP仅支持单用户,即Console口用户、Telnet用户和SSH用户均指同一个用户。如果密码丢失且FIT AP没有在AC上上线,可以进入UBoot将设备的用户名和密码重置为缺省值。
用串口线连接设备的方法请参见通过Console口连接设备。
不同版本的BootROM密码可能不同,具体可参见AC和AP的缺省用户名和密码。
ar7240> defaultuser Start setting whether to Change Password..... Current Bootup Change PW is N Do you Want To Change The Default password, Y or N : Y ar7240>
ar7240> reset Resetting...
系统启动完成,设备的用户名和密码恢复为缺省值。
FIT AP仅支持单用户,即蓝牙串口用户、Telnet用户和SSH用户均指同一个用户。如果密码丢失且FIT AP没有在AC上上线,可以进入BootLoader将设备的用户名和密码重置为缺省值。
通过蓝牙串口方式连接设备的方法请参见通过蓝牙串口方式连接AP。
输入y后,设备会自动重启。
Caution: A new console password must be set after the restart. Continue now? Yes(y) or No(n): y Clear Console Lockword Successfully.
<Huawei> reset saved-configuration Warning: The password used for login through the console port, Telnet, HTTP and SSH will be restored to the factory default. Continue? [Y/N]y Info: Succeeded in setting password to default password. Username:admin Password: //输入默认密码 Warning: The default password poses security risks. It is recommended that the user name and password of the AP be changed using the 'ap username' command in the WLAN view of the AC. Alternatively, directly change the command here. Enter the password (plain-text password of 8-128 characters or cipher-text password of 48-188 characters that must contain at least one lowercase letter, one uppercase letter, and one digit): //配置新的密码 Confirm New Password:
AT仅支持单用户,即Console口用户、Telnet用户和SSH用户均指同一个用户。如果密码丢失,可以进入UBoot将设备的用户名和密码重置为缺省值。
用串口线连接设备的方法请参见通过Console口连接设备。
不同版本的BootROM密码可能不同,具体可参见AC和AP的缺省用户名和密码。
ar7240> defaultuser Start setting whether to Change Password..... Current Bootup Change PW is N Do you Want To Change The Default password, Y or N : Y ar7240>
ar7240> reset Resetting...
<AT815SN> system-view [AT815SN] local-user huawei password cipher New Password(<8-16>/<56>): Confirm Password: [AT815SN] quit
设备提供如下方法可以恢复Web用户密码。
序号 |
方法 |
适用产品 |
适用版本 |
|---|---|---|---|
1 |
AC、FAT AP、云AP |
所有版本 |
|
2 |
FIT AP |
所有版本 |
WLAN设备支持通过Web网管方式进行远程维护和管理,如果Web用户密码丢失,可以通过如下方法重新配置:
# 以用户名为admin123,密码为YsHsjx_202206为例,配置如下。
<HUAWEI> system-view
[HUAWEI] aaa
[HUAWEI-aaa] local-user admin123 password irreversible-cipher YsHsjx_202206
[HUAWEI-aaa] local-user admin123 service-type http
[HUAWEI-aaa] local-user admin123 privilege level 15
Warning: This operation may affect online users, are you sure to change the user privilege level ?[Y/N]y
[HUAWEI-aaa] return
<HUAWEI> save
FIT AP仅支持单用户,即Console口用户、Telnet用户、SSH用户和Web用户均指同一个用户。
如果密码丢失但是FIT AP已经在AC上上线,可以通过如下方法修改或恢复FIT AP用户密码:
通过AC下发配置的方式修改FIT AP用户名和密码,AC会自动将修改后的配置下发到AP,并会对所有AP生效。
<AC> system-view [AC] wlan [AC-wlan-view] ap username admin password cipher Enter the password (plain-text password of 8-32 characters or cipher-text password of 48 or 68 characters): Confirm password:
<AC> system-view [AC] wlan [AC-wlan-view] undo ap username
设备提供如下方法可以恢复BootROM密码。
序号 |
方法 |
适用产品 |
适用版本 |
|---|---|---|---|
1 |
AC |
V200R002C00-V200R021C10 |
|
2 |
FIT AP、FAT AP、云AP、AT |
FIT AP:V200R003C00-V200R019C00 FAT AP:V200R003C00-V200R019C00 云AP:V200R007C10-V200R019C00 AT:V200R005C10及之后版本 |
|
3 |
FIT AP、FAT AP、云AP |
V200R019C10-V200R021C10 |
BIOS提供了配置恢复、系统软件升级等功能,是设备安全、维护的基础。BIOS密码的安全性非常重要,需要慎重保存。如果BIOS密码丢失,可以通过恢复默认密码功能后重新设置新密码来进行修改。
请通过串口线连接设备完成下面的操作。
用串口线连接设备的方法请参见通过Console口连接设备。
不同版本的BootROM密码可能不同,具体可参见AC和AP的缺省用户名和密码。
<Huawei> system-view [Huawei] diagnose [Huawei-diagnose] reset boot password The password used to enter the BootROM menu will be restored to the factory setting, continue? [Y/N] y Info: Succeeded in setting password of boot to default. [Huawei-diagnose] return <Huawei> reboot Info: The system is comparing the configuration, please wait. Warning: All the configuration will be saved to the next startup configuration. Continue ? [y/n]:y It will take several minutes to save configuration file, please wait.......... Configuration file had been saved successfully Note: The configuration file will take effect after being activated System will reboot! Continue ? [y/n]:y Info: system is rebooting ,please wait...
重启设备后,出现“Press CTRL+B to enter BIOS menu”打印信息时,按下“Ctrl+B”并键入密码后进入BIOS主菜单。
BIOS Menu (Version: 072)
1. Boot with default mode
2. Enter serial submenu
3. Enter startup submenu
4. Enter ethernet submenu
5. Enter file system submenu
6. Modify BOOTROM password
7. Clear password for console user
8. Config HigMem to Flash Flag
9. Reboot(Press CTRL+E to enter Diag menu)Enter your choice(1-9):6
Confirm old password : //输入原密码
Please enter new password : //输入新密码
Please confirm new password : //再次输入新密码
The password is changed successfully.
uBoot密码的安全性非常重要,需要慎重保存。如果uBoot密码丢失,可以通过恢复默认密码功能后重新设置新密码来进行修改。
请通过串口线连接设备完成下面的操作。
用串口线连接设备的方法请参见通过Console口连接设备。
不同版本的BootROM密码可能不同,具体可参见AC和AP的缺省用户名和密码。
<Huawei> system-view [Huawei] diagnose [Huawei-diagnose] reset boot password The password used to enter the BootROM menu will be restored to the factory setting, continue? [Y/N] y Info: Succeeded in setting password of boot to default. [Huawei-diagnose] return <Huawei> reboot Info: The system is comparing the configuration, please wait. Warning: All the configuration will be saved to the next startup configuration. Continue ? [y/n]:y It will take several minutes to save configuration file, please wait.......... Configuration file had been saved successfully Note: The configuration file will take effect after being activated System will reboot! Continue ? [y/n]:y Info: system is rebooting ,please wait...
重启设备后,出现“Press f or F to stop Auto-Boot ……”打印信息时,按下“f”并键入密码后进入uBoot视图。
ar7240> passwd Start modify boot password..... Confirm old password : The password must be '0'~'9' , 'a'~'z' , 'A'~'Z' , or '@'! Please enter new password : Please confirm new password : The password is changed successfully.
BootLoader提供了配置恢复、系统软件升级等功能,是设备安全、维护的基础。BootLoader密码的安全性非常重要,需要慎重保存。如果BootLoader密码丢失,可以通过恢复默认密码功能后重新设置新密码来进行修改。
请通过串口线连接设备完成下面的操作。
通过蓝牙串口方式连接设备的方法请参见通过蓝牙串口方式连接AP。
<Huawei> system-view [Huawei] diagnose [Huawei-diagnose] reset boot password The password used to enter the BootROM menu will be restored to the factory setting, continue? [Y/N] y Info: Succeeded in setting password of boot to default password. [Huawei-diagnose] return <Huawei> reboot Info: The system is comparing the configuration, please wait. Warning: All the configuration will be saved to the next startup configuration. Continue ? [y/n]:y It will take several minutes to save configuration file, please wait.......... Configuration file had been saved successfully Note: The configuration file will take effect after being activated System will reboot! Continue ? [y/n]:y Info: system is rebooting ,please wait...
BootLoader的密码重置后默认为空,需要重新设置BootLoader密码。
Info: The password is empty. For security purposes, change the password. New password: //输入新密码 Confirm password: //确认新密码 The password is changed successfully.