华为路由器怎么设置管理员密码(华为路由器管理员密码策略及https://c.quk.cc/2/c12/dzosh5xghpf src="https://c.quk.cc/2/c12/vntxxzip053.jpg" alt="华为路由器怎么设置管理员密码(华为路由器管理员密码策略及https://c.quk.cc/2/c12/r0dtw4ntenm" >
华为路由器怎么设置管理员密码
华为路由器的软件版本
华为路由器的软件版本: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]
配置https://c.quk.cc/2/c12/iamy24fyqma secure-server ssl-policy default_policy
#启用https://c.quk.cc/2/c12/ya2qs44lldj secure-server enable
#允许指定路由器的接口IP被https://c.quk.cc/2/c12/g2zzrsfj0py server permit interface GigabitEthernet0/0/13
配置https://c.quk.cc/2/c12/hzsyuygp4vv 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 https://c.quk.cc/2/c12/yc22zmkgtoz vty 0 4
[HUAWEI-ui-vty0-4]authentication-mode aaa
[HUAWEI-ui-vty0-4]protocol inbound all