are applied to the secondary input stage. The IPv4 and IPv6 policies for voice-over-IP
traffic leaving the IPv4 and IPv6 interfaces respectively are applied to the output
stage. Statistics collection is enabled for the policies referenced in the service macro
using the
statistics enabled
keyword in the command used for policy attachment
in the profile. The
merge
keyword enables merging of multiple policies to form a
single policy.
The
<# env.setResult("activate-profile", profileName) #>
command specifies the
interface profile to be used on activation of the interface. After the subscriber service
session is activated, the policies defined in the interface profile are applied to both
IPv4 and IPv6 interfaces. The elements in the profile to be attached to the interfaces
are determined by the type of the interface.
The
<# env.setResult("service-interface-type", "ipv4-ipv6") #>
command
configures the service macro to be used for IPv4 and IPv6 interfaces in a dual stack.
The profile identifier returned from the activate-profile object will be applied to both
IPv4 and IPv6 interfaces.
The service definition macro is configured to collect input and output statistics
associated with external parent groups in a hierarchical policy for IPv4 and IPv6
subscribers as follows:
<# env.setResult("secondary-input-stat-epg", "vb-v4v6-"$ uid $"-in v4v6-"$ uid $"")
#>
<# env.setResult("output-stat-epg", "vb-v4v6-"$ uid $"-out v4v6-"$ uid $"") #>
The <# env.setResult("secondary-input-stat-epg", "vb-v4v6-"$ uid $"-in v4v6-"$ uid
$"") #> command specifies that Service Manager track statistics associated with the
external parent group named vb-v4v6-in and the corresponding hierarchical policy
named v4v6, and that this external parent group is associated with the policy that
is attached at the input stage.
The
<# env.setResult("output-stat-epg", "vb-v4v6-"$ uid $"-out v4v6-"$ uid $"")
#>
command specifies that Service Manager track the output statistics associated
with the external parent group named vb-v4v6-out and the corresponding hierarchical
policy named v4v6, which is associated with the policy attached at the output stage.
The input and output statistics associated with the external parent group are collected
and forwarded to the Service Manager to be displayed in the Acct-Stop and
Interim-Acct messages.
If you use the
secondary-intput-stat-clacl
and
output-stat-clacl
objects in the service
macro to track Service Manager statistics, the values returned in the output of the
show service-management
command do not accurately reflect the packets that are
rate-limited. In this case, although some of the packets that were classified by the
classifier lists are dropped by the rate-limiter on the external parent group, the Service
Manager statistics collection application counts all the packets that were classified
without excluding those that were dropped by the rate limiter. As a result, the values
returned by the
output-stat-clacl
and
secondary-input-stat-clacl
objects represent
more packets than those sent to the subscriber and core interfaces respectively.
Using the macro that has been described here, you can configure the following
combined service, for example:
Service Definition Examples
■
699
Chapter 27: Configuring Service Manager
Содержание 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...