一、配置路由器登录方式
1、配置路由器管理IP
- <Huawei> system-view
- [Huawei] interface gigabitethernet 0/0/0
- [Huawei-GigabitEthernet0/0/0] ip address 192.168.1.1 24
- [Huawei-GigabitEthernet0/0/0] quit
复制代码 2、启用http
- [Huawei] http secure-server enable
复制代码 3、配置Web用户和用户级别
以用户名admin ,密码123为例
- [Huawei] aaa
- [Huawei-aaa] local-user admin password cipher 123
- [Huawei-aaa] local-user admin privilege level 15
- [Huawei-aaa] local-user admin service-type http
- [Huawei-aaa] return
- <Huawei> save
复制代码 二、配置Telnet登录
华为Telnet登录验证方式:
AAA方式:使用用户名+密码方式登录。
Password方式:使用用户名+密码方式登录。
(一)AAA方式:
- <Huawei> <strong id="ZH-CN_CONCEPT_0177894723__zh-cn_concept_0177865936_b133554971183102">system-view</strong>
- [Huawei] <strong id="ZH-CN_CONCEPT_0177894723__zh-cn_concept_0177865936_b2023643366183102">user-interface vty 0</strong>
- [Huawei-ui-vty0] <strong id="ZH-CN_CONCEPT_0177894723__zh-cn_concept_0177865936_b1312720785183102">protocol inbound telnet</strong>
- [Huawei-ui-vty0] <strong id="ZH-CN_CONCEPT_0177894723__zh-cn_concept_0177865936_b253369028183102">authentication-mode aaa</strong>
- [Huawei-ui-vty0] <strong id="ZH-CN_CONCEPT_0177894723__zh-cn_concept_0177865936_b200503141183102">quit</strong>
- [Huawei] <strong id="ZH-CN_CONCEPT_0177894723__zh-cn_concept_0177865936_b1123204042183102">aaa</strong>
- [Huawei-aaa] <strong id="ZH-CN_CONCEPT_0177894723__zh-cn_concept_0177865936_b1087747902183102">local-user admin123 password irreversible-cipher YsHsjx_202206</strong>
- [Huawei-aaa] <strong id="ZH-CN_CONCEPT_0177894723__zh-cn_concept_0177865936_b1609373592183102">local-user admin123 service-type telnet</strong>
- [Huawei-aaa] <strong id="ZH-CN_CONCEPT_0177894723__zh-cn_concept_0177865936_b1232525826183102">local-user admin123 privilege level 15</strong>
- [Huawei-aaa] <strong id="ZH-CN_CONCEPT_0177894723__zh-cn_concept_0177865936_b767020967183102">return</strong>
- <Huawei> <strong id="ZH-CN_CONCEPT_0177894723__zh-cn_concept_0177865936_b45052119183102">save</strong>
复制代码 (二)Password方式
- <Huawei> <strong id="ZH-CN_CONCEPT_0177894723__b186278638183411">system-view</strong>
- [Huawei] <strong id="ZH-CN_CONCEPT_0177894723__b764851055183411">user-interface vty 0 4</strong>
- [Huawei-ui-vty0-4] <strong id="ZH-CN_CONCEPT_0177894723__b1297365949183411">authentication-mode password</strong>
- [Huawei-ui-vty0-4] <strong id="ZH-CN_CONCEPT_0177894723__b1205483986183411">set authentication password cipher YsHsjx_202207</strong>
- [Huawei-ui-vty0-4] <strong id="ZH-CN_CONCEPT_0177894723__b2074104296183411">return</strong>
复制代码 参考:
路由器启用web登录:https://support.huawei.com/enterprise/zh/doc/EDOC1000079624/3fec391b
路由器启用Telnet登录:https://support.huawei.com/enterprise/zh/doc/DOC1000079675/2404efd8
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。 |