蚌埠市网站建设_网站建设公司_产品经理_seo优化
2025/12/23 11:11:14 网站建设 项目流程

一、带外管理

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

需要专业的网站建设服务?

联系我们获取免费的网站建设咨询和方案报价,让我们帮助您实现业务目标

立即咨询