[an error occurred while processing this directive] [an error occurred while processing this directive]

Configuring How Accounting Statistics Are Collected for Subscriber Access

Include the accounting statement at the [edit access profile profile-name] hierarchy level to specify how the subscriber access management feature collects and uses accounting statistics.

[edit access profile profile-name]
accounting {
accounting-stop-on-access-deny;
accounting-stop-on-failure;
order [ accounting-method ];
statistics (time | volume-time);
update-interval minutes;
}

The following list describes the accounting statements:

  • accounting-stop-on-access-deny—Configures AAA to issue an Acct-Stop message if the AAA server denies access to the subscriber.
  • accounting-stop-on-failure—Configures the AAA servers to send an Acct-Stop message if the subscriber fails AAA but is granted access by the AAA-server.
  • order—The order in which multiple accounting methods are used. For example, an entry of radius specifies that the router use RADIUS accounting and, if that fails, no accounting is performed.
  • statistics—The types of statistics to gather. You can specify that the router collect both volume and time statistics or only time statistics for subscriber sessions. When you change the type of statistics being collected, current subscribers continue to use the previous collection specification—subscribers who log in after the change use the new specification.
  • update-interval—Configures the number of minutes between accounting updates. You can configure an interval from 10 through 1440 minutes. If you specify an interval of 10 through 15, the interval is rounded up to 15.
[an error occurred while processing this directive]