Related Documentation
Configuring Interim, Broadcast, and Policy-Based Accounting in Virtual Router Groups and PPP Profiles
You can use the aaa virtual-router command with the interim-update or policy-accounting keyword to enable or disable sending of periodic interim accounting messages or policy-based accounting statistics to broadcast accounting servers configured in a broadcast virtual router group. The policy-based accounting messages sent from AAA to a RADIUS server contains the Calling-Station-Id [31] and Event-Timestamp [55] RADIUS attributes.
You can use the aaa accounting interim-update command to enable or disable periodic sending of interim accounting messages to a primary accounting server on a per-virtual router basis. The transmission interval of the interim accounting messages depends on the user accounting interval configured using the aaa user accounting interval. When the user accounting interval is set as 0, interim accounting is not performed for users attached to the virtual router.
You can use the ppp aaa-accounting-broadcast command to assign a broadcast virtual router group to a PPP profile so as to enable broadcast accounting in PPP profiles.
![]() | Note:
|
To configure interim, broadcast, and policy-based accounting in virtual router groups and PPP profiles:
- Enable sending of the Interim-Acct request periodically
at a configured user accounting interval to the primary accounting
server.host1(config)#aaa accounting interim-update enable
- Create a virtual router group and enter VR Group Configuration
mode.host1(config)#aaa accounting vr-group groupxyzhost1(vr-group-config)#
- Add a virtual router to the group and enable sending of
periodic interim accounting messages and policy-based accounting statistics
to broadcast accounting servers configured in the virtual router group.host1(vr-group-config)#aaa virtual-router 1 vrxyz1 interim-accounting enablehost1(vr-group-config)#aaa virtual-router 1 vrxyz1 policy-accounting enablehost1(vr-group-config)#exithost1(config)#
- Enable broadcast accounting.host1(config)#virtual-router vr4host1:vr4(config)#aaa accounting broadcast groupxyzhost1:vr4(config)#virtual-router defaulthost1(config)#
- Create a PPP profile and assign the virtual router group
to enable broadcast accounting in the PPP profile.host1(config)#profile pppprofile10host1(config-profile)#ppp aaa-accounting-broadcast groupxyz