host1(config)#
service-management subscriber-session [email protected]
interface atm 4/0.1 service-session “video(4500000, 192.168.10.3)”
service-session-profile vodISP1
Configuring Service Manager Statistics
The Service Manager application provides a flexible and efficient process for
identifying and capturing statistics related to subscriber service sessions. Configuring
Service Manager to collect statistics is a three- part process. First, you design the
service definition macro file to identify the statistics that you want to collect. Second,
you configure Service Manager to enable statistics collection when a service session
is activated by either RADIUS or the CLI. Third, before you reference a 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.
The following section describes how to configure the service definition macro file.
For information about configuring Service Manager to enable statistics, see “Enabling
Statistics Collection with RADIUS” on page 681 if you are using RADIUS to activate
services, or see “Enabling Statistics Collection with the CLI” on page 682 if you are
using the CLI.
Setting Up the Service Definition File for Statistics Collection
Service Manager statistics are based on classifier lists—the classifier lists are
referenced by policy lists that you define in your service definition macro file.
When you configure your service definition for statistics, you include the macro
environment command
env.setResult
to indicate the type of statistics to track and
to identify the classifier lists to use when generating statistics. The format of the
environment command is:
<# env.setResult(“
string
” , “
classifier-list-name
” ) #>
The
string
variable specifies the type of statistics to track—Service Manager supports
the following strings:
■
input-stat-clacl
—track input statistics
■
output-stat-clacl
—track output statistics
■
secondary-input-stat-clacl
—track input statistics for a policy attached at the
secondary input stage
The
classifier-list-name
variable is the name of the classifier list that is associated
with the policy list that is defined in the service definition. You can specify multiple
classifier lists in the command.
Example 1
This example is a portion of the service definition macro file in Figure 29 on page 642.
The two highlighted commands specify the statistics used by the Service Manager
application.
profile <# name; '\n' #>
680
■
Configuring Service Manager Statistics
JUNOSe 11.0.x Broadband Access Configuration Guide
Содержание JUNOSE 11.0.X MULTICAST ROUTING
Страница 6: ...vi...
Страница 28: ...xxviii Table of Contents JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 36: ...xxxvi List of Tables JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 42: ...2 Managing Remote Access JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 204: ...164 Managing RADIUS and TACACS JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 274: ...234 CLI Commands Used to Modify RADIUS Attributes JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 292: ...252 Monitoring RADIUS Relay Server JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 336: ...296 RADIUS Client Terminate Reasons JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 368: ...328 Managing L2TP JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 408: ...368 Configuring the Weighted Load Balancing Method JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 444: ...404 PPP Accounting Statistics JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 492: ...452 Monitoring Operational Status within the Current VR Context JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 494: ...454 Managing DHCP JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 510: ...470 DHCP Local Server Configuration Tasks JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 528: ...488 Configuring the Router to Work with the SRC Software JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 556: ...516 Configuring DHCP Relay Proxy JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 616: ...576 Managing the Subscriber Environment JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 632: ...592 Subscriber Management Configuration Examples JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 636: ...596 Monitoring Active IP Subscribers Created by Subscriber Management JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 672: ...632 Monitoring Active IP Subscribers Created by Subscriber Management JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 674: ...634 Managing Subscriber Services JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 767: ...Part 7 Index Index on page 729 Index 727...
Страница 768: ...728 Index JUNOSe 11 0 x Broadband Access Configuration Guide...