eNSP之PC通过Console连接网络设备

您所在的位置:网站首页 串口登录交换机的方法 eNSP之PC通过Console连接网络设备

eNSP之PC通过Console连接网络设备

2024-03-22 15:46| 来源: 网络整理| 查看: 265

eNSP之PC通过Console连接网络设备 实验环境

实验环境

PC通过串口连接网络设备

连接网络设备 其中的设置参数使用默认值即可,直接点击连接。

配置设备Console接口,使得登录设备时需要认证。 1、密码认证(不安全) [SW]user-interface console 0 //进入控制台接口 [SW-ui-console0]authentication-mode password //选择认证模式为密码认证 [SW-ui-console0]set authentication password cipher abc123 //设置密码为密文格式的abc123 [SW-ui-console0]quit [SW]quit

PC重新连接时需要输入密码 password连接考虑到使用密码认证模式时的不安全,建议使用AAA认证模式。

2、AAA认证

实验环境不变,通过配置AAA使得PC在通过console连接配置网络设备时需要输入用户名和密码。

[SW]user-interface console 0 //进入控制台接口 [SW-ui-console0]authentication-mode aaa //选择认证模式为AAA [SW-ui-console0]quit [SW]aaa //进入AAA配置 [SW1-aaa]local-user huawei password cipher hcip //添加新用户“huawei”,密码为“hcip” [SW1-aaa]local-user huawei service-type terminal //设置该用户可进行的服务类型为“Terminal” [SW1-aaa]quit

PC重新连接时,需要输入用户名与密码。 AAA连接 下一篇我们将介绍,网络设备的Telnet配置。



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3