当前位置:网站首页>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边栏推荐
- [learning record] plt.show() solution to flash back
- Mxnet implementation of densenet (dense connection network)
- 包管理 apt,dpkg
- Brush questions - Luogu -p1146 coin flip
- How to use handwritten JDBC?
- Vscode plug-in development
- 数字孪生 - 认知篇
- Azure Devops (XIV) use azure's private nuget warehouse
- Brush questions - Luogu -p1151 sub number integer
- 刷题-洛谷-P1151 子数整数
猜你喜欢

2022年下半年软考初级程序员备考

Nodejs link MySQL error: Er_ NOT_ SUPPORTED_ AUTH_ MODEError: ER_ NOT_ SUPPORTED_ AUTH_ MODE
![Serious [main] org.apache.catalina.util.lifecyclebase Handlesubclassexception initialization component](/img/39/6f6760e80acec0b02028ea2ed1a5b1.png)
Serious [main] org.apache.catalina.util.lifecyclebase Handlesubclassexception initialization component

DNS resolution error during windows unbutu20 lts apt, WGet installation

LabVIEW的内部错误
Congestion control of TCP

How to refactor embedded code?

Brush questions - Luogu -p1161 turn on the light

Applet enterprise red envelope function
![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,
随机推荐
What is your revenue rank among global developers in 2022?
Alibaba mqtt IOT platform "cloud product circulation" practice - the two esp32 achieve remote interoperability through the IOT platform
Tm1638 LED digital display module Arduino drive code
@Classmethod decorator
MySQL 01: Source command
redis集群的三种方式
NoSQL,关系型数据库,行列数据库对比、类比
LabVIEW的内部错误
Multidimensional pivoting analysis of CDA level1 knowledge points summary
leetcode--四数相加II
Okaleido launched the fusion mining mode, which is the only way for Oka to verify the current output
Numpy quick start
Brush questions - Luogu -p1146 coin flip
IM system - some common problems of message streaming
From input URL to web page display
高版本MySQL服务端安装不上怎么办,忘记密码(MySQL8.0.29)?
Applet enterprise red envelope function
CSV文本文件导入excel的四种方法
Internal error of LabVIEW
adb通过Wi-Fi连接小米手机