华为路由器配置WEB及Telnet登录

打印 上一主题 下一主题

主题 528|帖子 528|积分 1584

一、配置路由器登录方式
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企服之家,中国第一个企服评测及商务社交产业平台。
回复

使用道具 举报

0 个回复

倒序浏览

快速回复

您需要登录后才可以回帖 登录 or 立即注册

本版积分规则

水军大提督

金牌会员
这个人很懒什么都没写!

标签云

快速回复 返回顶部 返回列表