news 2026/9/13 7:18:33

华为路由器的管理方式:带外管理和带内管理

作者头像

张小明

前端开发工程师

1.2k 24
文章封面图
华为路由器的管理方式:带外管理和带内管理

一、带外管理

1、密码登录

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]undo info-center ena
Info: Information center is disabled.
[Huawei]sysn RA
[RA]user-interface console 0
[RA-ui-console0]authentication-mode password
Please configure the login password (maximum length 16):huawei
[RA-ui-console0]return
<RA>

验证:

2、AAA认证

[RA]user-interface console 0
[RA-ui-console0]authentication-mode aaa
[RA-ui-console0]qu
[RA]aaa
[RA-aaa]local-user admin password cipher huawei
[RA-aaa]local-user admin service-type terminal
[RA-aaa]return
<RA>

验证:

二、带内管理

1、使用telnet密码认证

RA:

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]undo info-center ena
Info: Information center is disabled.
[Huawei]sysn RA
[RA]int g0/0/0
[RA-GigabitEthernet0/0/0]ip add 192.168.1.254 24
[RA-GigabitEthernet0/0/0]qu

[RA]telnet server ena
[RA]user-interface vty 0 4
[RA-ui-vty0-4]authentication-mode password
Please configure the login password (maximum length 16):huawei
[RA-ui-vty0-4]user privilege level 15
[RA-ui-vty0-4]idle-timeout 15
[RA-ui-vty0-4]qu
验证:

RA:

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]undo info-center ena
Info: Information center is disabled.
[Huawei]sysn RB
[RB]int g0/0/0
[RB-GigabitEthernet0/0/0]ip add 192.168.1.1 24
[RB-GigabitEthernet0/0/0]qu
[RB]qu

2、使用AAA认证

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]undo info-center ena
Info: Information center is disabled.
[Huawei]sysn RA
[RA]int g0/0/0
[RA-GigabitEthernet0/0/0]ip add 192.168.1.254 24
[RA-GigabitEthernet0/0/0]qu

[RA]telnet server ena

[RA]user-interface vty 0 4
[RA-ui-vty0-4]authentication-mode aaa
[RA-ui-vty0-4]user privilege level 15
[RA-ui-vty0-4]qu
[RA]aaa
[RA-aaa]local-user admin password cipher huawei
[RA-aaa]local-user admin service-type telnet
[RA-aaa]qu
[RA]

验证:

RB:

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]undo info-center ena
Info: Information center is disabled.
[Huawei]sysn RB
[RB]int g0/0/0
[RB-GigabitEthernet0/0/0]ip add 192.168.1.1 24
[RB-GigabitEthernet0/0/0]qu
[RB]qu

3、配置通过stelnet登录

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]undo info-center ena
Info: Information center is disabled.
[Huawei]sysn RA
[RA]int g0/0/0
[RA-GigabitEthernet0/0/0]ip add 192.168.1.254 24
[RA-GigabitEthernet0/0/0]qu

[RA]stelnet server ena
Info: Succeeded in starting the STELNET server.
[RA]rsa local-key-pair create
The key name will be: Host
% RSA keys defined for Host already exist.
Confirm to replace them? (y/n)[n]:y
The range of public key size is (512 ~ 2048).
NOTES: If the key modulus is greater than 512,
It will take a few minutes.
Input the bits in the modulus[default = 512]:512
Generating keys...
..++++++++++++
..................++++++++++++
...........................++++++++
..............++++++++

[RA]user-interface vty 0 4
[RA-ui-vty0-4]authentication-mode aaa
[RA-ui-vty0-4]user privilege level 15
[RA-ui-vty0-4]protocol inbound ssh
[RA-ui-vty0-4]idle-timeout 15
[RA-ui-vty0-4]qu
[RA]aaa
[RA-aaa]local-user admin password cipher huawei
[RA-aaa]local-user admin service-type ssh
[RA-aaa]qu
[RA]ssh user admin authentication-type password

验证:

RB:

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]undo info-center ena
Info: Information center is disabled.
[Huawei]sysn RB
[RB]int g0/0/0
[RB-GigabitEthernet0/0/0]ip add 192.168.1.1 24
[RB-GigabitEthernet0/0/0]qu
[RB]qu

版权声明: 本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若内容造成侵权/违法违规/事实不符,请联系邮箱:809451989@qq.com进行投诉反馈,一经查实,立即删除!
网站建设 2026/9/5 15:52:40

同花顺 领头股指标绿线上穿紫线时可做波段买入

{}白色: SMA(HIGH,21,2)*1.05,colorwhite; 黄s色: SMA(LOW,21,2)*0.95,coloryellow; 粉色: SMA(LOW,5,1),colormagenta; 绿色: SMA(CLOSE,2,1),colorgreen; 波段买入:IF(CROSS(绿色,粉色),白色*1.05,粉色),,colormagenta; 领头羊强势股:IF(CROSS(绿色,白色),白色*1.10,黄s色),,…

作者头像 李华
网站建设 2026/9/7 14:13:21

【大模型自动化新纪元】:Open-AutoGLM 2.0如何重塑AI工程化落地标准

第一章&#xff1a;大模型自动化新纪元的开启人工智能正以前所未有的速度演进&#xff0c;大语言模型的崛起标志着自动化技术迈入全新阶段。这些模型不仅能理解自然语言&#xff0c;还能生成代码、撰写文档、执行复杂推理&#xff0c;推动软件开发、运维和业务流程的深度自动化…

作者头像 李华
网站建设 2026/9/3 6:39:09

Source Han Sans TTF 终极指南:打造专业级中文显示方案

Source Han Sans TTF 终极指南&#xff1a;打造专业级中文显示方案 【免费下载链接】source-han-sans-ttf A (hinted!) version of Source Han Sans 项目地址: https://gitcode.com/gh_mirrors/so/source-han-sans-ttf 在数字时代&#xff0c;中文字体的显示质量直接影响…

作者头像 李华
网站建设 2026/9/12 12:39:58

WinAsar:Windows平台上最直观的asar文件处理神器

WinAsar&#xff1a;Windows平台上最直观的asar文件处理神器 【免费下载链接】WinAsar 项目地址: https://gitcode.com/gh_mirrors/wi/WinAsar 还在为Electron应用的asar文件打包和解压而烦恼吗&#xff1f;WinAsar就是你的终极解决方案&#xff01;这款专为Windows用户…

作者头像 李华
网站建设 2026/9/8 23:02:56

显存不足也能跑?Open-AutoGLM笔记本部署优化技巧,99%的人不知道

第一章&#xff1a;显存不足也能跑&#xff1f;Open-AutoGLM笔记本部署优化技巧&#xff0c;99%的人不知道在本地笔记本上部署大语言模型常受限于显存容量&#xff0c;但通过一系列轻量化与推理优化手段&#xff0c;即使仅有4GB显存的设备也能流畅运行 Open-AutoGLM。关键在于模…

作者头像 李华