天天看點

HuaWei-USG6000系列防火牆清除Console登入密碼

如果遺忘Console登入密碼,可通過BIOS菜單清除Console登入密碼,啟動後重新設定。

背景資訊:

使用者如果忘記Console口的登入密碼,可以在BIOS菜單下使用清除Console登入密碼功能,使本次使用Console口登入裝置不需要密碼。

說明:

出現“Press Ctrl+B to Enter Boot Menu...”列印資訊時,請在5秒鐘内按下“Ctrl+B”,輸入BootROM密碼“O&m15213”進入BootROM主系統菜單

使用目前菜單清除Console登入密碼功能,隻能清除本次登入的Console口密碼,

并非真正清除Console口的密碼。

如果使用者能使用Telnet方式登入裝置,可以Telnet到裝置後,

執行指令user-interface console interface-number,

進入Console使用者界面視圖。在Console使用者界面視圖下

執行set authentication password cipher password指令,

重置Console口的登入密碼。

操作步驟:

在BIOS主菜單下,選擇7進行Console密碼清除。

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 Diagmenu)Enter your choice(1-9):

7Caution: Clear password for consoleuser?  Yes(y) or No(n): y

Clear password for console usersuccessfully.                                   

Choose "1.Boot with defaultmode", then set a new password by console command line.

Caution: Do not reboot or power off thedevice, otherwise this operation will not take effect.

注意:

清除Console密碼後,請選擇BIOS主菜單下的“1. Boot with default mode”進行啟動,

不能選擇“9. Reboot”,也不能掉電,否則此次清除Console口登入密碼失效。

修改telnet密碼:

<USG6600>system-view

[USG6600]aaa

[USG6600-aaa]manager-user admin

[USG6600-aaa-manager-user-admin]password cipher [email protected]

//此處更改telnet使用者admin密碼為[email protected]

修改consol口登入密碼:

<sysname> system-view

[sysname] user-interface console 0

[sysname-ui-console0] authentication-mode local user admin password [email protected]

[sysname-ui-console0] return

修改web頁面登入密碼:

[NGFW-aaa] manager-user webadmin

[NGFW-aaa-manager-user-webadmin]password

Enter Password:

Confirm Password:

[NGFW-aaa-manager-user-webadmin]service-type web

[NGFW-aaa-manager-user-webadmin]access-limit 10

[NGFW-aaa-manager-user-webadmin]quit

[NGFW-aaa] bind manager-userwebadmin role service-admin

[NGFW-aaa] quit

正确導入配置檔案的方法:

1.先導出一份正确的配置檔案

2.清空新的USG防火牆配置

3.進入web管理頁面進行配置檔案更改

          1.在配置檔案後面的項點選更改

          2.然後點選上傳,上傳進新的配置檔案

          3.點選上傳的這份配置檔案後面的小燈泡激活配置檔案下次啟動時生效

          4.如果有問是否儲存配置檔案的選項,記得不要儲存。如果儲存會出問題。

            這裡直接點選重新啟動就可以了。

然後重新開機後,就和之前的上傳的配置檔案是一樣的配置了。

繼續閱讀