Supported Platforms
Related Documentation
- ACX, J, M, MX, PTX, SRX, T Series
- Guidelines for Configuring Standard Firewall Filters
- J, M, MX, PTX, SRX, T Series
- Guidelines for Applying Standard Firewall Filters
- Standard Firewall Filter Terminating Actions
- Standard Firewall Filter Nonterminating Actions
- MX Series
- Classic Filters Overview
- Defining Dynamic Filter Processing Order
- RADIUS Accounting Statistics for Subscriber Access Overview
- Configuring Per-Service Session Accounting
- Configuring Per-Subscriber Session Accounting
Configuring Service Packet Counting
Service packet counting is used by the router to provide volume statistics for subscribers on a per-service session basis.
You can count service packets, applying them to a specific named counter (__junos-dyn-service-counter), for use by RADIUS, by specifying the service-accounting action at the [edit firewall family family-name filter filter-name term term-name then] hierarchy level.
See Configuring Per-Service Session Accounting for additional information, including descriptions of the RADIUS VSAs used for per-service session accounting.
To enable service packet counting:
- Configure any match conditions that you want to count
using the service accounting action. For example:[edit firewall family inet filter filtername term term-name]user@host# set from source-address address
- Specify the service-accounting action for the
filter.[edit firewall family inet filter filtername term term-name]user@host# set then service-accounting
When the match conditions for the filter are met, the packet is counted and applied to the well-known service counter (__junos-dyn-service-counter) for use by the RADIUS server. This counter provides the volume statistics for per-service accounting.
Tip: Do not configure the service-accounting action with a count action in the same term.
Related Documentation
- ACX, J, M, MX, PTX, SRX, T Series
- Guidelines for Configuring Standard Firewall Filters
- J, M, MX, PTX, SRX, T Series
- Guidelines for Applying Standard Firewall Filters
- Standard Firewall Filter Terminating Actions
- Standard Firewall Filter Nonterminating Actions
- MX Series
- Classic Filters Overview
- Defining Dynamic Filter Processing Order
- RADIUS Accounting Statistics for Subscriber Access Overview
- Configuring Per-Service Session Accounting
- Configuring Per-Subscriber Session Accounting
Published: 2013-02-11
Supported Platforms
Related Documentation
- ACX, J, M, MX, PTX, SRX, T Series
- Guidelines for Configuring Standard Firewall Filters
- J, M, MX, PTX, SRX, T Series
- Guidelines for Applying Standard Firewall Filters
- Standard Firewall Filter Terminating Actions
- Standard Firewall Filter Nonterminating Actions
- MX Series
- Classic Filters Overview
- Defining Dynamic Filter Processing Order
- RADIUS Accounting Statistics for Subscriber Access Overview
- Configuring Per-Service Session Accounting
- Configuring Per-Subscriber Session Accounting