1.要求
创建user1账号,密码huawei@123,用户级别 3,只能以ssh方式登录
2.拓扑图

3.配置
AR1
sys
[Huawei]int g0/0/0
[Huawei-GigabitEthernet0/0/0]ip address 1.1.1.2 24
[Huawei-GigabitEthernet0/0/0]q
[Huawei]un in en
[Huawei]aaa
[Huawei-aaa]local-user user1 password cipher huawei@123.con privilege level 3
[Huawei-aaa]local-user user1 service-type ssh
[Huawei-aaa]q
[Huawei]rsa l
[Huawei]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]:y
% Invalid number, the range

最低0.47元/天 解锁文章
6374

被折叠的 条评论
为什么被折叠?



