当前位置:网站首页>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边栏推荐
- wangeditor 富文本编辑器
- Brush questions - Luogu -p1059 clear random number
- 【力扣】645.错误的集合
- [original] nine point calibration tool for robot head camera calibration
- Construction and practice of yolov7 in hands-on teaching
- 职场「数字人」不吃不睡007工作制,你「卷」得过它们吗?
- Brush questions - Luogu -p1085 unhappy Jinjin
- Engineering monitoring multi-channel vibrating wire sensor wireless acquisition instrument external digital sensor process
- 音视频技术开发周刊 | 255
- OKA通证权益解析,参与Okaleido生态建设的不二之选
猜你喜欢

Nodejs link MySQL error: Er_ NOT_ SUPPORTED_ AUTH_ MODEError: ER_ NOT_ SUPPORTED_ AUTH_ MODE

Leetcode202 --- Happy number

leetcode202---快乐数

Redux usage and analysis

How can information security engineers prepare for the soft exam in the second half of 2022?

刷题-洛谷-P1152 欢乐的跳

Package management apt, dpkg

Three ways of redis cluster
![Serious [main] org.apache.catalina.util.lifecyclebase Handlesubclassexception initialization component](/img/39/6f6760e80acec0b02028ea2ed1a5b1.png)
Serious [main] org.apache.catalina.util.lifecyclebase Handlesubclassexception initialization component

leetcode--四数相加II
随机推荐
Canal realizes MySQL data synchronization
Nodejs link MySQL error: Er_ NOT_ SUPPORTED_ AUTH_ MODEError: ER_ NOT_ SUPPORTED_ AUTH_ MODE
IM system - some common problems of message streaming
How can information security engineers prepare for the soft exam in the second half of 2022?
Canvas judgment content is empty
刷题-洛谷-P1089 津津的储蓄计划
Int array get duplicate data
Explain the precision of floating point numbers in detail
Advantages of wireless relay acquisition instrument and wireless network for engineering monitoring
DNS resolution error during windows unbutu20 lts apt, WGet installation
GCD details
Acquisition data transmission mode and online monitoring system of wireless acquisition instrument for vibrating wire sensor of engineering instrument
[force buckle] 645. Wrong set
Okaleido上线聚变Mining模式,OKA通证当下产出的唯一方式
Uncaught SyntaxError: Octal literals are not allowed in strict mode.
IM系统-消息流化一些常见问题
Working mode and sleep mode of nlm5 series wireless vibrating wire sensor acquisition instrument
刷题-洛谷-P1046 陶陶摘苹果
Sword finger offer special assault edition day 10
高版本MySQL服务端安装不上怎么办,忘记密码(MySQL8.0.29)?