Juniper JUNOSE 11.1.X - BROADBAND ACCESS CONFIGURATION GUIDE 6-4-2010 Configuration Manual page 745

For e series broadband services routers - broadband access
Table of Contents

Advertisement

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:
Chapter 27: Configuring Service Manager
Service Definition Examples
705

Advertisement

Table of Contents
loading

Table of Contents