Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    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:

    • When a broadcast virtual router group is configured at both PPP profile and virtual router levels, AAA sends accounting messages only to broadcast accounting servers in the broadcast virtual router group that is configured at both PPP profile and virtual router levels.
    • Policy-based accounting is not supported on a primary accounting server.
    • IP version 6 (IPv6) policy-based accounting is not supported for the IPv6 policy returned from the RADIUS server.
    • The configurations done using the aaa virtual-router, aaa accounting interim-update, and ppp aaa accounting broadcast commands are saved across the chassis cluster and unified in-service software upgrade (ISSU).

    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

    Published: 2014-08-20