AAA认证
一.拓撲
二.地址
三.AAA配置
R1(config)#username admin1 password admin1
R1(config)# aaa new-model
R1(config)#aaa authentication login default local
R1(config)#line console 0
R1(config-line)#login authentication default
?
(2).用TACACS+完成服務器上的AAA認證配置
R2(config)#username admin2 password admin2
R2(config)#tacacs-server host 192.168.2.2
R2(config)#tacacs-server key admin2
R2(config)#aaa new-model
R2(config)#aaa authentication login default group tacacs+ local
R2(config)#line console 0
R2(config-line)#login authentication de
(3).用RADIUS完成基于服務器的AAA驗證的配置
R3(config)#username admin3 password admin3
R3(config)#tacacs-server host 192.168.3.2
R3(config)#tacacs-server key admin3
R3(config)#aaa new-model
R3(config)#aaa authentication login default group?radius local
R3(config)#line console 0
R3(config-line)#login authentication default
[RADIUS服務器配置如下]
[tacacs服務器配置如下]
四.驗證網絡通暢
pc1 ping pc2
pc1 ping pc3
pc2 ping pc3
五.驗證登陸
驗證用戶EXEC登入使用本地數據庫
驗證Telnet配置
用AAA TACACS+服務器驗證用戶EXEC登入
用AAA RADIUS服務器驗證用戶EXEC登入
轉載于:https://www.cnblogs.com/jin311599/p/10552043.html
總結
- 上一篇: 坐标系
- 下一篇: 面试题:如何编写一个杯子测试用例