Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

accounting-order (Service Accounting)

Syntax

Hierarchy Level

Description

Specify the method that is used for reporting subscriber service accounting.

When you specify the activation-protocol method, the service accounting statistics are reported differently depending on how the service is activated:

  • When the service is activated by the RADIUS server, the statistics are reported to the RADIUS server.

  • When the service is activated by JSRC, the statistics are reported to JSRC.

  • When the service is activated by the CLI configuration or a command—for example, through DHCP—the statistics are reported as determined by the flat-file profile configured at the [edit access profile profile-name local] hierarchy level. In this case, statistics are not reported if no flat-file profile is configured.

Default

activation-protocol

Options

activation-protocol

Send service accounting reports by means of the application that activates services, such as JSRC, RADIUS, or the CLI.

local

Send service accounting information to a flat file stored locally on the router. This method requires you to also configure the name of a flat-file profile at the [edit access profile profile-name local] hierarchy level. This profile determines which statistics and which nonstatistical parameters are collected for the service.

Note:

When you configure the local option, both volume and time statistics are collected for the service accounting sessions. In this case, you must not configure the volume-time option at the [edit access profile profile-name service accounting statistics] hierarchy level, or an error is generated when you commit the configuration.

radius

Send service accounting reports to the RADIUS server by means of the RADIUS protocol.

Required Privilege Level

admin—To view this statement in the configuration.

admin-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 11.4.

local option added in Junos OS Release 17.1.