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 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:

    1. 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
    2. 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.

     
     

    Published: 2013-02-11