基于服务器AAA的实验
1.实验拓扑

2.地址分配
|
Device |
Interface |
IP Address |
Subnet Mask |
|
R0 |
Fa0/0 |
192.168.1.2 |
255.255.255.0 |
|
S0/0/0 |
10.1.1.2 |
255.255.255.252 |
|
|
R3 |
S0/1/0 |
10.1.1.1 |
255.255.255.252 |
|
Fa0/0 |
192.168.2.40 |
255.255.255.0 |
|
|
S0/1/1 |
10.2.2.1 |
255.255.255.252 |
|
|
R1 |
S0/0/1 |
10.2.2.2 |
255.255.255.252 |
|
Fa0/0 |
192.168.3.3 |
255.255.255.0 |
|
|
TACACS+ Server |
NIC |
192.168.2.10 |
255.255.255.0 |
|
RADIUS Server |
NIC |
192.168.3.1 |
255.255.255.0 |
|
PC-0 |
NIC |
192.168.2.20 |
255.255.255.0 |
|
PC-1 |
NIC |
192.168.1.1 |
255.255.255.0 |
|
PC-2 |
NIC |
192.168.3.2 |
255.255.255.0 |
3、配置过程
3.1 在路由器R0上配置一个本地用户账号并且利用本地AAA通过console线和VTY连接认证
R0(config)#username wang password 666
R0(config)# aaa new-model
R0(config)#aaa authentication login default local
R0(config)#line console 0
R0(config-line)#login authentication default
R0(config)# aaa authentication login telnet-login local
R0(config)# line vty 0 4
R0(config-line)# login authentication telnet-login
3.2 用TACACS+完成服务器上的AAA认证配置
R3(config)#username zhi password 123
R3(config)#tacacs-server host 192.168.2.10
R3(config)#tacacs-server key 123
R3(config)#aaa new-model
R3(config)#aaa authentication login default group tacacs+ local
R3(config)#line console 0
R3(config-line)#login authentication default

3.3 用RADIUS完成基于服务器的AAA验证的配置
R1(config)#username xing password 456
R1(config)#tacacs-server host 192.168.3.1
R1(config)#tacacs-server key 456
R1(config)#aaa new-model
R1(config)#aaa authentication login default group radius local
R1(config)#line console 0
R1(config-line)#login authentication default

4.实验验证
4.1 PING 通测试 PC1 to PC0

4.2 验证用户EXEC登入使用本地数据库

4.2.1 PC0通过Telnet配置测试

4.3 用AAA TACACS+服务器验证用户EXEC登入

4.4 用AAA RADIUS服务器验证用户EXEC登入测试

基于服务器AAA的实验的更多相关文章
- 基于服务器AAA实验
---恢复内容开始--- 一.实验拓扑 二.实验地址分配 设备 端口 ip 掩码 AAAA g0/0 and se0/3/0 192.168.1.1 and 192.168.4.1 2 ...
- 基于SoCkit的opencl实验1-基础例程
基于SoCkit的opencl实验1-基础例程 准备软硬件 Arrow SoCkit Board 4GB or larger microSD Card Quartus II v14.1 SoCEDS ...
- 基于token与基于服务器的身份认证
1.基于服务器的身份认证 我们清楚 http 协议是无状态的,也就是说,如果我们已经认证了一个用户,那么他下一次请求的时候,服务器不知道我是谁,我们就必须要再次认证. 我们与浏览器交互时,比如说登陆成 ...
- 基于Token的身份认证 与 基于服务器的身份认证
基于Token的身份认证 与 基于服务器的身份认证 基于服务器的身份认证 在讨论基于Token的身份认证是如何工作的以及它的好处之前,我们先来看一下以前我们是怎么做的: HTTP协议是无状态的,也就是 ...
- 配置基于服务器认证的Dynamics 365 Customer Engagement和SharePoint Online集成
我是微软Dynamics 365 & Power Platform方面的工程师罗勇,也是2015年7月到2018年6月连续三年Dynamics CRM/Business Solutions方面 ...
- 搭建一套简单的web服务器,记录实验过程
搭建web服务器 一.实验内容: 实验要求: 1.完成一个简单的web服务器,web服务器从mysql里读取数据进行返回 2.Mysql需要有一个单独的数据盘,每个mysql虚拟机的磁盘挂载方式需要都 ...
- 基于服务器的AAA配置实验(Cisco PT)
一.实验拓扑 二.网络地址分配 Device Interface IP Address Subnet Mask R1 Fa0/0 192.168.1.1 255.255.255.0 S0/0/0 10 ...
- HCIA-datacom 4.2 实验二:本地AAA配置实验
关于本实验 AAA是Authentication(认证).Authorization(授权)和Accounting(计费)的简称,是网络安全的一种管理机制,提供了认证.授权.计费三种安全功能.这三种安 ...
- zigbee学习之路(十五):基于协议栈的按键实验
一.前言 经过上次的学习,相信大家已经初步学会使用zigbee协议进行发送和接受数据了.今天,我们要进行的实验是按键的实验,学会如何在协议栈里实现按键中断. 二.实验功能 在协议栈上实现按键中断,BU ...
随机推荐
- 浅谈RESTful
浅谈RESTful 什么是RESTful? REST全称是Representational State Transfer,中文意思是表述(编者注:通常译为表征)性状态转移. 它首次出现在2000年Ro ...
- chrome浏览器导出文件提示病毒扫描失败
转自https://zhidao.baidu.com/question/758059392558639324.html 1.windows+R,打开运行 2.输入regedit.exe,确定,打开注册 ...
- Pycharm,Python 安装OpenCV and CV2 时,报错,教你如何正确安装。
Collecting cv2 Could not find a version that satisfies the requirement cv2 (from versions: ) No matc ...
- 不能最为IF判断条件的属性
<!DOCTYPE HTML><html><head><meta http-equiv="Content-Type" content=&q ...
- 记python使用grpc
using grpc in Python gRPC是基于http/2的RPC框架,使用ProtoBuf作为底层数据序列化.Nginx服务器2018年3月17日引入gRPC支持. gRPC 是用来实现跨 ...
- SpringBoot和druid数据源集成Jpa
1.pom文件 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="htt ...
- VS Code插件配置
常用 VS Code 插件: Auto Import 有了这个插件,就不需要再手动引入文件了.如果是基于组件的项目,直接输入组件名插件会自动处理 imported. ** Add jsdoc comm ...
- ssh 框架整合事,使用注解,action提示找不到
There is no Action mapped for namespace [/] and action name [/select] associated with context path [ ...
- 动态修改JS对象的值及React setState
一.在JS里使用(非ES6) 实现场景: 给一个空对象填充某一指定数组内的值 并随机生成数量 const fruit = ['apple', 'banana', 'orange'] let fruit ...
- JVM垃圾回收(二)- Minor GC vs Major GC vs Full GC
Minor GC vs Major GC vs Full GC 垃圾回收的活动会清理对内存中的不同区域,这些事件一般被称为Minor,Major以及Full GC events.本章我们会讨论这些清理 ...