交换机
园区网交换机
数据中心与云计算交换机
中小网络精简型交换机
工业交换机
意图网络指挥官
无线
放装型无线接入点
墙面型无线接入点
智分无线接入点
室外无线接入点
场景化无线
无线控制器
小锐A系列
统一运维
身份管理
服务产品
运营商
政府
金融
互联网
电力能源
制造业
高教/职教
医疗卫生
交通
地产酒店文旅·连锁服务
公共安全
功能介绍:
AAA提供记账功能,可以对用户登陆、退出设备的行为进行记账,同时还可以记录用户的操作命令。
应用场景:
企业对路由器的安全性要求较高,不同的用户登陆设备,采用不同的用户名及密码进行验证,并且对用户的登陆、退出操作以及所执行的命令进行记录,可以采用AAA对登陆的用户进行验证及记账。
一、组网需求
需求一、对登陆、退出设备进行记账
需求二、对登录用户的操作命令进行记账
二、组网拓扑
三、配置要点
1、配置基础路由、aaa登陆认证
2、配置记账列表
3、在vty下调用记账列表
四、配置步骤
需求一、对登陆、退出设备进行记账
1、配置基础路由、aaa登陆认证
配置参考 ” 登陆认证“章节(典型配置--->安全--->AAA--->登陆认证)
2、配置exec记账列表
RSR20-14E(config)#aaa accounting exec execaccout start-stop group tacacs+ //配置记账列表execaccout
3、在vty下调用exec记账列表
RSR20-14E(config)#line vty 0 4
RSR20-14E(config-line)#accounting exec execaccout //调用记账列表execaccout
需求二、对登录用户的操作命令进行记账
1、配置基础路由、aaa登陆认证
配置参考 ” 登陆认证“章节(典型配置--->安全--->AAA--->登陆认证)
2、配置commands记账列表
注意:
我司设备配置记账列表需要分别配置0-15级别的记账列表
RSR20-14E(config)#aaa accounting commands 0 commaccout start-stop group tacacs+ //配置名为commaccout的记账列表
RSR20-14E(config)#aaa accounting commands 1 commaccout start-stop group tacacs+
RSR20-14E(config)#aaa accounting commands 2 commaccout start-stop group tacacs+
RSR20-14E(config)#aaa accounting commands 3 commaccout start-stop group tacacs+
RSR20-14E(config)#aaa accounting commands 4 commaccout start-stop group tacacs+
RSR20-14E(config)#aaa accounting commands 5 commaccout start-stop group tacacs+
RSR20-14E(config)#aaa accounting commands 6 commaccout start-stop group tacacs+
RSR20-14E(config)#aaa accounting commands 7 commaccout start-stop group tacacs+
RSR20-14E(config)#aaa accounting commands 8 commaccout start-stop group tacacs+
RSR20-14E(config)#aaa accounting commands 9 commaccout start-stop group tacacs+
RSR20-14E(config)#aaa accounting commands 10 commaccout start-stop group tacacs+
RSR20-14E(config)#aaa accounting commands 11 commaccout start-stop group tacacs+
RSR20-14E(config)#aaa accounting commands 12 commaccout start-stop group tacacs+
RSR20-14E(config)#aaa accounting commands 13 commaccout start-stop group tacacs+
RSR20-14E(config)#aaa accounting commands 14 commaccout start-stop group tacacs+
RSR20-14E(config)#aaa accounting commands 15 commaccout start-stop group tacacs+
3、在vty下调用commands记账列表
注意:
我司设备在vty下调用记账列表,需要分别调用0 - 15级的记账列表。
RSR20-14E(config)#line vty 0 4
RSR20-14E(config-line)#accounting commands 0 commaccout //调用记账列表 commaccout
RSR20-14E(config-line)#accounting commands 1 commaccout
RSR20-14E(config-line)#accounting commands 2 commaccout
RSR20-14E(config-line)#accounting commands 3 commaccout
RSR20-14E(config-line)#accounting commands 4 commaccout
RSR20-14E(config-line)#accounting commands 5 commaccout
RSR20-14E(config-line)#accounting commands 6 commaccout
RSR20-14E(config-line)#accounting commands 7 commaccout
RSR20-14E(config-line)#accounting commands 8 commaccout
RSR20-14E(config-line)#accounting commands 9 commaccout
RSR20-14E(config-line)#accounting commands 10 commaccout
RSR20-14E(config-line)#accounting commands 11 commaccout
RSR20-14E(config-line)#accounting commands 12 commaccout
RSR20-14E(config-line)#accounting commands 13 commaccout
RSR20-14E(config-line)#accounting commands 14 commaccout
RSR20-14E(config-line)#accounting commands 15 commaccout
五、配置验证
1、对登陆、退出设备的操作进行记账
用户通过telnet登陆、退出设备,在ACS上能够看到相应的登陆、退出的记账信息。单击主页面”Reports and Activity“然后单击 ”TACACS+ Accounting“查看相应的记账信息。
2、对用户的操作命令进行记账
在ACS的主页面单击”Reports and Activity“ 然后单击”TACACS+ Administration“ 就可以看到相应的命令记账信息。