文章目录
网络拓扑
交换机配置AAA认证服务
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sysn SW2
[SW2]un in en
Info: Information center is disabled.
[SW2]interface Vlanif 1
[SW2-Vlanif1]ip address 192.168.1.253 24
[SW2-Vlanif1]quit
[SW2]telnet server enable #开启telnet服务
Info: The Telnet server has been enabled.
[SW2]user-interface vty 0 4
[SW2-ui-vty0-4]protocol inbound telnet #配置用户
[SW2-ui-vty0-4]authentication-mode aaa #认证模式
[SW2-ui-vty0-4]quit
[SW2]
[SW2]aaa
[SW2-aaa]local-user admin password cipher Huawei
[SW2-aaa]local-user admin privilege level 3 #配置登录权限为3
[SW2-aaa]local-user admin service-type telnet
[SW2]user-interface console 0 #配置串口登录
[SW2-ui-console0]authentication-mode password
[SW2-ui-console0]set authentication password cipher Huawei123#配置密码
[SW2-ui-console0]q
结果查看
查看自己的配置
cloud3的配置
电脑串口配置默认如下,连接线使用CTL
CRT软件使用telnet协议如下
CRT链接成功如下
串口连接如下