華為路由器怎麼設置管理員密碼?華為路由器的軟件版本:V300R019C10SPC300默認情況下,路由器的管理員密碼策略是開啟狀态,如下圖所示;,現在小編就來說說關于華為路由器怎麼設置管理員密碼?下面内容希望能幫助到你,我們來一起看看吧!
華為路由器的軟件版本:V300R019C10SPC300
管理員密碼策略配置默認的管理員密碼策略默認情況下,路由器的管理員密碼策略是開啟狀态,如下圖所示;
修改管理員密碼策略方式[HUAWEI]aaa
[HUAWEI-aaa]local-aaa-user password policy administrator
[HUAWEI-aaa-lupp-admin]password history record number 4
[HUAWEI-aaa-lupp-admin]password alert before-expire 45
[HUAWEI-aaa-lupp-admin]password expire 120
[HUAWEI-aaa-lupp-admin]
關閉管理員密碼策略方式[HUAWEI]aaa
[HUAWEI-aaa]undo local-aaa-user password policy administrator
Warning: Administrator password policy has been disabled, there is a security risk.
[HUAWEI-aaa]
配置http登陸啟用http服務[HUAWEI]http secure-server ssl-policy default_policy
#啟用http服務
[HUAWEI]http secure-server enable
#允許指定路由器的接口IP被http訪問
[HUAWEI]http server permit interface GigabitEthernet0/0/13
配置http登陸賬戶#賬戶配置,例如,用戶名test,密碼test_123,最高權限是level 15
[HUAWEI]aaa
[HUAWEI-aaa]local-user test password irreversible-cipher test_123
[HUAWEI-aaa]local-user test privilege level 15
[HUAWEI-aaa]local-user test service-type http
VTY配置AAA登陸#vty接口指定aaa賬戶登陸
[HUAWEI]user-interface vty 0 4
[HUAWEI-ui-vty0-4]authentication-mode aaa
[HUAWEI-ui-vty0-4]protocol inbound all
更多精彩资讯请关注tft每日頭條,我们将持续为您更新最新资讯!