华为telnet的两种认证方式
实验拓扑:
实验要求:
1.采用普通密码认证实现telnet 远程登录机房设备R3
2.采用AAA认证服务方式实现telnet 远程登录机房设备R3
实验步骤:
1.完成基本配置(设备接口配置IP,此步骤略过)
sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sys R1
[R1]undo in e
Info: Information center is disabled.
[R1]int g0/0/0
[R1-GigabitEthernet0/0/0]ip add 10.1.1.1 24
[R1-GigabitEthernet0/0/0]
sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sys R2
[R2]undo in e
Info: Information center is disabled.
[R2]int g0/0/0
[R2-GigabitEthernet0/0/0]ip add 10.1.1.2 24
[R2-GigabitEthernet0/0/0]
sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sys R3
[R3]undo in e
Info: Information center is disabled.
[R3]int g0/0/0
[R3-GigabitEthernet0/0/0]ip add 10.1.1.254 24
[R3-GigabitEthernet0/0/0]
2.配置机房设备R3
--------------------------------------第一种认证方式telnet密码认证--------------------------------
[R3]user-interface vty 0 4
[R3-ui-vty0-4]authentication-mode password
Please configure the login password (maximum length 16):huawei
[R3-ui-vty0-4]
3.测试远程登录
telnet 10.1.1.254
Press CTRL_] to quit telnet mode
Trying 10.1.1.254 …
Connected to 10.1.1.254 …