当前位置:网站首页>telnet远程登录aaa模式详解【华为eNSP】
telnet远程登录aaa模式详解【华为eNSP】
2022-07-25 13:56:00 【华为云】
@[toc]
一.前言
所有的需求都已经记录完毕了,现在只差最后一个需求:
9、为方便后期管理和维护需要在核心和汇聚层设备上开启远程登录功能。认证方式为用户名+密码认证(用户名和密码自定义)。
对于这个需求还是较为简单,采用telnet远程登录aaa模式。
先看一眼拓扑图:
二.实验过程如下
汇聚层交换机LSW6为例:
首先:同时允许建立Telnet 会话编号范围,允许五台设备。
user-interface vty 0 4
设置本端操作不需要密码
user-interface con 0
设置加密模式
authentication-mode aaa

进入aaa
aaa
设置用户名称及密文密码
local-user admin password cipher [email protected]
设置用户的接入类型为Telnet
local-user admin service-type telnet
查看aaa
[sw6-aaa]dis this

解释:
authentication-scheme default
是验证方式,default 是默认 默认情况下使用本地验证。
authorization-scheme default 还是验证方式默认及本地设备验证
accounting-scheme default还是验证方式默认及本地设备验证
domain default 域 缺省。
核心层路由器配置:
首先:同时允许建立Telnet 会话编号范围,允许五台设备。
user-interface vty 0 4
设置加密模式
authentication-mode aaa
配置用户等级
user privilege level 15
进入aaa视图
aaa
设置用户名称及密文密码
local-user admin password cipher [email protected]
设置用户的接入类型为Telnet
local-user admin service-type telnet
R2路由器和LSW7配置与上同理,配置大体相同。
检测:
远程登录成功。
[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边栏推荐
- Day1:三种语言暴刷牛客130题
- 埃拉托斯特尼筛法
- Brush questions - Luogu -p1046 Tao Tao picking apples
- 【目录爆破工具】信息收集阶段:robots.txt、御剑、dirsearch、Dirb、Gobuster
- 刷题-洛谷-P1152 欢乐的跳
- Error of Tencent cloud [100007] this env is not enable anonymous login
- word设置粘贴仅保留文本
- dp-851
- 刷题-洛谷-P1085 不高兴的津津
- How can information security engineers prepare for the soft exam in the second half of 2022?
猜你喜欢

How happy is the frisbee bureau? 2022 youth trendy Sports Report
![[original] nine point calibration tool for robot head camera calibration](/img/de/5ea86a01f1a714462b52496e2869d6.png)
[original] nine point calibration tool for robot head camera calibration

手把手教学Yolov7的搭建及实践

Dr. Berkeley's "machine learning engineering" big truth; AI vice president '2022 ml job market' analysis; Large list of semiconductor start-ups; Large scale video face attribute data set; Cutting edge

刷题-洛谷-P1161 开灯

移动端网站,独立APP,网站排名策略有哪些?

科隆新能源IPO被终止:拟募资6亿 先进制造与战新基金是股东

刷题-洛谷-P1059 明明的随机数

刷题-洛谷-P1089 津津的储蓄计划

音视频技术开发周刊 | 255
随机推荐
伯克利博士『机器学习工程』大实话;AI副总裁『2022 ML就业市场』分析;半导体创业公司大列表;大规模视频人脸属性数据集;前沿论文 | ShowMeAI资讯日报
命名空间与库
@Wrap decorator
Internal error of LabVIEW
音视频技术开发周刊 | 255
[server data recovery] HP EVA server storage raid information power loss data recovery
Brush questions - Luogu -p1151 sub number integer
From input URL to web page display
手里有点钱可以投资哪些理财产品?
Application engineering safety monitoring of wireless vibrating wire acquisition instrument
NoSQL, relational database, row and column database comparison and analogy
Alibaba mqtt IOT platform "cloud product circulation" practice - the two esp32 achieve remote interoperability through the IOT platform
Canvas judgment content is empty
Sports luxury or safety luxury? Which type of Asian Dragon and Volvo S60 should we start with?
移动端网站,独立APP,网站排名策略有哪些?
飞沃科技IPO过会:年营收11.3亿 湖南文旅与沅澧投资是股东
职场「数字人」不吃不睡007工作制,你「卷」得过它们吗?
Arduino code of key state machine for realizing single, double click, long press and other functions with esp32 timed interrupt
word设置粘贴仅保留文本
Applet enterprise red envelope function