当前位置:网站首页>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边栏推荐
猜你喜欢
![Serious [main] org.apache.catalina.util.lifecyclebase Handlesubclassexception initialization component](/img/39/6f6760e80acec0b02028ea2ed1a5b1.png)
Serious [main] org.apache.catalina.util.lifecyclebase Handlesubclassexception initialization component
![einsum(): operands do not broadcast with remapped shapes [original->remapped]: [1, 144, 20, 17]->[1,](/img/bb/0fd0fdb7537090829f3d8df25aa59b.png)
einsum(): operands do not broadcast with remapped shapes [original->remapped]: [1, 144, 20, 17]->[1,

【力扣】645.错误的集合

How to refactor embedded code?

Alibaba mqtt IOT platform "cloud product circulation" practice - the two esp32 achieve remote interoperability through the IOT platform

redis集群的三种方式

应急科普|收好这份暑期安全指南,让孩子安全过暑假!

伯克利博士『机器学习工程』大实话;AI副总裁『2022 ML就业市场』分析;半导体创业公司大列表;大规模视频人脸属性数据集;前沿论文 | ShowMeAI资讯日报

在线问题反馈模块实战(十三):实现多参数分页查询列表

G027-op-ins-rhel-04 RedHat openstack creates a customized qcow2 format image
随机推荐
Working mode and sleep mode of nlm5 series wireless vibrating wire sensor acquisition instrument
Uncaught SyntaxError: Octal literals are not allowed in strict mode.
【学习记录】plt.show()闪退解决方法
Leetcode -- addition of four numbers II
Pytest.mark.parameterize and mock use
@wrap 装饰器
Brush questions - Luogu -p1150 Peter's smoke
Working principle of Lora to 4G and gateway repeater
【目录爆破工具】信息收集阶段:robots.txt、御剑、dirsearch、Dirb、Gobuster
Namespaces and libraries
Tm1637 four digit LED display module Arduino driver with second dot
Three ways of redis cluster
Sword finger offer special assault edition day 10
Brush questions - Luogu -p1152 happy jump
「数字安全」警惕 NFT的七大骗局
Brush questions - Luogu -p1161 turn on the light
移动端网站,独立APP,网站排名策略有哪些?
Brush questions - Luogu -p1059 clear random number
音视频技术开发周刊 | 255
einsum(): operands do not broadcast with remapped shapes [original->remapped]: [1, 144, 20, 17]->[1,