在思科模拟器上完成基于服务器的AAA实验
一.实验拓扑
二.ip地址分配表
三,AAA的配置过程
(1)在路由器R1上配置一个本地用户账号并且利用本地AAA通过console线和VTY连接认证
R1(config)#username huang password kaihua
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 huang password kaihua
R2(config)#tacacs-server host 192.168.2.2
R2(config)#tacacs-server key kaihua
R2(config)#aaa new-model
R2(config)#aaa authentication login default group tacacs+ local
R2(config)#line console 0
R2(config-line)#login authentication default
[tacacs服务器配置如下]
(3).用RADIUS完成基于服务器的AAA验证的配置
R3(config)#username huang password kaihua
R3(config)#tacacs-server host 192.168.3.2
R3(config)#tacacs-server key kaihua
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服务器配置如下]
四,验证过程
(1)保证网络连通
pc1 ping pc2
pc1 ping pc3
pc2 ping pc3
(2)验证用户EXEC登入使用本地数据库
(3)验证Telnet配置
(4)用AAA TACACS+服务器验证用户EXEC登入
(5)用AAA RADIUS服务器验证用户EXEC登入