ToB企服应用市场:ToB评测及商务社交产业平台

标题: 华为路由器配置WEB及Telnet登录 [打印本页]

作者: 水军大提督    时间: 2024-7-18 04:29
标题: 华为路由器配置WEB及Telnet登录
一、配置路由器登录方式
1、配置路由器管理IP
  1. <Huawei> system-view
  2. [Huawei] interface gigabitethernet 0/0/0
  3. [Huawei-GigabitEthernet0/0/0]  ip address 192.168.1.1 24
  4. [Huawei-GigabitEthernet0/0/0] quit
复制代码
2、启用http
  1. [Huawei] http secure-server enable
复制代码
3、配置Web用户和用户级别
以用户名admin ,密码123为例
  1. [Huawei] aaa
  2. [Huawei-aaa] local-user admin password cipher 123
  3. [Huawei-aaa] local-user admin privilege level 15
  4. [Huawei-aaa] local-user admin service-type http
  5. [Huawei-aaa] return
  6. <Huawei> save
复制代码
二、配置Telnet登录
华为Telnet登录验证方式:
AAA方式:使用用户名+密码方式登录。
Password方式:使用用户名+密码方式登录。
(一)AAA方式:
  1. <Huawei> <strong id="ZH-CN_CONCEPT_0177894723__zh-cn_concept_0177865936_b133554971183102">system-view</strong>
  2. [Huawei] <strong id="ZH-CN_CONCEPT_0177894723__zh-cn_concept_0177865936_b2023643366183102">user-interface vty 0</strong>
  3. [Huawei-ui-vty0] <strong id="ZH-CN_CONCEPT_0177894723__zh-cn_concept_0177865936_b1312720785183102">protocol inbound telnet</strong>
  4. [Huawei-ui-vty0] <strong id="ZH-CN_CONCEPT_0177894723__zh-cn_concept_0177865936_b253369028183102">authentication-mode aaa</strong>
  5. [Huawei-ui-vty0] <strong id="ZH-CN_CONCEPT_0177894723__zh-cn_concept_0177865936_b200503141183102">quit</strong>
  6. [Huawei] <strong id="ZH-CN_CONCEPT_0177894723__zh-cn_concept_0177865936_b1123204042183102">aaa</strong>
  7. [Huawei-aaa] <strong id="ZH-CN_CONCEPT_0177894723__zh-cn_concept_0177865936_b1087747902183102">local-user admin123 password irreversible-cipher YsHsjx_202206</strong>
  8. [Huawei-aaa] <strong id="ZH-CN_CONCEPT_0177894723__zh-cn_concept_0177865936_b1609373592183102">local-user admin123 service-type telnet</strong>
  9. [Huawei-aaa] <strong id="ZH-CN_CONCEPT_0177894723__zh-cn_concept_0177865936_b1232525826183102">local-user admin123 privilege level 15</strong>
  10. [Huawei-aaa] <strong id="ZH-CN_CONCEPT_0177894723__zh-cn_concept_0177865936_b767020967183102">return</strong>
  11. <Huawei> <strong id="ZH-CN_CONCEPT_0177894723__zh-cn_concept_0177865936_b45052119183102">save</strong>
复制代码
(二)Password方式
  1. <Huawei> <strong id="ZH-CN_CONCEPT_0177894723__b186278638183411">system-view</strong>
  2. [Huawei] <strong id="ZH-CN_CONCEPT_0177894723__b764851055183411">user-interface vty 0 4</strong>
  3. [Huawei-ui-vty0-4] <strong id="ZH-CN_CONCEPT_0177894723__b1297365949183411">authentication-mode password</strong>
  4. [Huawei-ui-vty0-4] <strong id="ZH-CN_CONCEPT_0177894723__b1205483986183411">set authentication password cipher YsHsjx_202207</strong>
  5. [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企服之家,中国第一个企服评测及商务社交产业平台。




欢迎光临 ToB企服应用市场:ToB评测及商务社交产业平台 (https://dis.qidao123.com/) Powered by Discuz! X3.4