ip policy secondary-input <# name #> statistics enabled merge
ip policy output <# oname #> statistics enabled merge
qos-profile triplePlayIP
qos-parameter maxSubscBW <# outputBW; '\n' #>
<# env.setResult("activate-profile", name) #>
<#
env.setResult("secondary-input-stat-clacl", "matchAll") #> <#
env.setResult("output-stat-clacl", "matchAll") #>
<# endtmpl #>
The
<# env.setResult("secondary-input-stat-clacl", "matchAll") #>
command
specifies that Service Manager track statistics associated with the classifier list named
matchAll, and that this classifier list is associated with the policy that is attached at
the secondary input stage.
The
<# env.setResult("output-stat-clacl", "matchAll") #>
command specifies
that Service Manager track the output statistics associated with the matchAll classifier
list, which is associated with the policy attached at the output stage.
NOTE:
Before you reference as policy in the service definition macro to enable
Service Manager collect statistics, you must enable statistics collection for this policy
using the
statistics enabled
keyword in the command used for policy attachment
in the profile.
Example 2
This example shows how you can also configure your service definition to collect
total statistics from multiple classifier lists. The following command specifies that
three classifier lists are used to generate output statistics for a service created by the
service definition. Each time statistics are reported for this service, Service Manager
uses the total of the statistics for clacl1, clacl2, and clacl3.
<# env.setResult("output-stat-clacl", "clacl1 clacl2 clacl3” ) #>
Enabling Statistics Collection with RADIUS
You use the Service-Statistics RADIUS VSA [26-69] with either the RADIUS login or
CoA-Request method to enable statistics for RADIUS-activated service sessions. To
enable statistics, configure the Service-Statistics VSA with a value of either 1
(timestamp only) or 2 (volume and timestamp).
Table 150 on page 681 describes a partial RADIUS message in which the
Service-Statistics attribute has a value of 2—this enables volume and timestamp
statistics for the tiered service assigned to subscriber [email protected].
Table 150: RADIUS-Enabled Statistics
Value
Tag
RADIUS Attribute
none
username
tiered(1280000, 5120000)
6
activate-service
Configuring Service Manager Statistics
■
681
Chapter 27: Configuring Service Manager
Summary of Contents for JUNOSE 11.0.X MULTICAST ROUTING
Page 6: ...vi...
Page 28: ...xxviii Table of Contents JUNOSe 11 0 x Broadband Access Configuration Guide...
Page 36: ...xxxvi List of Tables JUNOSe 11 0 x Broadband Access Configuration Guide...
Page 42: ...2 Managing Remote Access JUNOSe 11 0 x Broadband Access Configuration Guide...
Page 204: ...164 Managing RADIUS and TACACS JUNOSe 11 0 x Broadband Access Configuration Guide...
Page 292: ...252 Monitoring RADIUS Relay Server JUNOSe 11 0 x Broadband Access Configuration Guide...
Page 336: ...296 RADIUS Client Terminate Reasons JUNOSe 11 0 x Broadband Access Configuration Guide...
Page 368: ...328 Managing L2TP JUNOSe 11 0 x Broadband Access Configuration Guide...
Page 444: ...404 PPP Accounting Statistics JUNOSe 11 0 x Broadband Access Configuration Guide...
Page 494: ...454 Managing DHCP JUNOSe 11 0 x Broadband Access Configuration Guide...
Page 510: ...470 DHCP Local Server Configuration Tasks JUNOSe 11 0 x Broadband Access Configuration Guide...
Page 556: ...516 Configuring DHCP Relay Proxy JUNOSe 11 0 x Broadband Access Configuration Guide...
Page 616: ...576 Managing the Subscriber Environment JUNOSe 11 0 x Broadband Access Configuration Guide...
Page 674: ...634 Managing Subscriber Services JUNOSe 11 0 x Broadband Access Configuration Guide...
Page 767: ...Part 7 Index Index on page 729 Index 727...
Page 768: ...728 Index JUNOSe 11 0 x Broadband Access Configuration Guide...