有時我們新接手的設備,或者因某種因素無法得知管理員密碼的情況,就需要進行密碼重置。下面介紹一下USG防火墻的管理員密碼重置流程。
前期準備:電腦+Console調試線纜+Console調試軟件
1、通過Console口連接設備并重啟設備。在設備啟動過程中,看到提示信息“Press Ctrl+B to enter main menu…3”時按下Ctrl+B,輸入BootROM密碼后,進入擴展段BootROM主菜單。
USG系列各登錄方式默認密碼如下圖:

華為防火墻默認密碼
復制
Press Ctrl+B to Enter main menu...3 Password: ******** ====================< Extend Main Menu >==================== | <1> Boot System | | <2> Set Startup Application Software and Configuration | | <3> File Management Menu... | | <4> Load and Upgrade Menu... | | <5> Modify Bootrom Password | | <6> Reset Factory Configuration | | <7> Reset Factory Password | | <0> Reboot | | ---------------------------------------------------------| | Press Ctrl+T to Enter Manufacture Test Menu... | | Press Ctrl+Z to Enter Diagnose Menu... | ============================================================ Enter your choice(0-7): 7 //此處選擇7,進入重置管理員密碼子菜單。2、選擇繼續修改密碼,并引導系統啟動。
復制
NOTE: This operation will reset current passwrod. Choose 'yes' to continue, or 'no' to stop and return. <1> Yes <0> No Enter your choice(0-1): 1 ====================< Extend Main Menu >==================== | <1> Boot System | | <2> Set Startup Application Software and Configuration | | <3> File Management Menu... | | <4> Load and Upgrade Menu... | | <5> Modify Bootrom Password | | <6> Reset Factory Configuration | | <7> Reset Factory Password | | <0> Reboot | | ---------------------------------------------------------| | Press Ctrl+T to Enter Manufacture Test Menu... | | Press Ctrl+Z to Enter Diagnose Menu... | ============================================================ Enter your choice(0-7): 1 //此處選擇1引導系統啟動。出現如下回顯信息并進入用戶視圖,則表示設備啟動成功。
復制
Recover configuration begin ... Recover configuration end Press ENTER to get started. Warning: There is a risk on the user-interface which you login through. Please c hange the configuration of the user-interface as soon as possible. ************************************************************************* * Copyright (C) 2014-2019 Huawei Technologies Co., Ltd. * * All rights reserved. * * Without the owner's prior written consent, * * no decompiling or reverse-engineering shall be allowed. * ************************************************************************* Info: Please change the configuration of the password as soon as possible.進入用戶視圖后不要執行quit,否則設備退出后您需要再次重啟設備,才能執行下一步重新設置管理員密碼。
3、重新設置管理員密碼,假設管理員為admin,密碼重新設置為Admin@12345。
復制
system-view [cnitdog] aaa [cnitdog-aaa] manager-user admin [cnitdog-aaa-manager-user-admin] password cipher Admin@12345 Info: You are advised to config on man-machine mode. [cnitdog-aaa-manager-user-admin] quit [cnitdog-aaa] quit [cnitdog] quit4、密碼修改完成后請及時執行quit退出設備,以保證設備的安全性。退出后即可使用修改后的密碼登錄設備。
部分設備的BootROM版本不同,菜單也略有不同,根據實際情況來進行密碼重置操作。