
services. Active services that are members of different mutex groups are
unaffected.
Configuring a Mutex Service
To configure and enable a mutex service, you complete the following steps:
1.
Create the new service definition and configure the service as a member of a
mutex group.
When you create the service definition, include the following service attribute
in the service definition, where groupIndex identifies the mutex group for this
service. The groupIndex can be a number in the range -1 to - 2147483647 or 1
to 2147483646. If the groupIndex is outside of the acceptable ranges, or if you
do not include the mutex-group statement, the service is not included in a mutex
group.
<# env.setResult("mutex-group", “
groupIndex
” ) #>
For example (the mutex group attribute is highlighted in bold text):
!parameterizes input and output bandwidth
<# tiered(inputBW, outputBW) #>
<# uid := app.servicemanager.getUniqueId #>
<# name := "SM-tiered-" $ uid #>
<# oname := "SM-O-tiered-" $ uid #>
classifier-list matchAll ip any any
rate-limit-profile <# name #> one-rate
committed-rate <# inputBW; '\n' #>
policy-list <# name; '\n' #>
classifier-group matchAll precedence 10000
rate-limit-profile <# name; '\n' #>
traffic-class best-effort
policy-list <# oname; '\n' #>
classifier-group matchAll precedence 10000
traffic-class best-effort
profile <# name; '\n' #>
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("mutex-group", “12” ) #>
<# env.setResult("activate-profile", name) #>
<# env.setResult("secondary-input-stat-clacl", "matchAll") #>
<# env.setResult("output-stat-clacl", "matchAll") #>
<# endtmpl #>
2.
Activate the mutex service
668
■
Using Mutex Groups to Activate and Deactivate Subscriber Services
JUNOSe 11.1.x Broadband Access Configuration Guide
Summary of Contents for JUNOSE 11.1.X - BROADBAND ACCESS CONFIGURATION GUIDE 6-4-2010
Page 6: ...vi...
Page 28: ...xxviii Table of Contents JUNOSe 11 1 x Broadband Access Configuration Guide...
Page 36: ...xxxvi List of Tables JUNOSe 11 1 x Broadband Access Configuration Guide...
Page 42: ...2 Managing Remote Access JUNOSe 11 1 x Broadband Access Configuration Guide...
Page 210: ...170 Managing RADIUS and TACACS JUNOSe 11 1 x Broadband Access Configuration Guide...
Page 298: ...258 Monitoring RADIUS Relay Server JUNOSe 11 1 x Broadband Access Configuration Guide...
Page 342: ...302 RADIUS Client Terminate Reasons JUNOSe 11 1 x Broadband Access Configuration Guide...
Page 374: ...334 Managing L2TP JUNOSe 11 1 x Broadband Access Configuration Guide...
Page 450: ...410 PPP Accounting Statistics JUNOSe 11 1 x Broadband Access Configuration Guide...
Page 500: ...460 Managing DHCP JUNOSe 11 1 x Broadband Access Configuration Guide...
Page 516: ...476 DHCP Local Server Configuration Tasks JUNOSe 11 1 x Broadband Access Configuration Guide...
Page 562: ...522 Configuring DHCP Relay Proxy JUNOSe 11 1 x Broadband Access Configuration Guide...
Page 622: ...582 Managing the Subscriber Environment JUNOSe 11 1 x Broadband Access Configuration Guide...
Page 680: ...640 Managing Subscriber Services JUNOSe 11 1 x Broadband Access Configuration Guide...
Page 773: ...Part 7 Index Index on page 735 Index 733...
Page 774: ...734 Index JUNOSe 11 1 x Broadband Access Configuration Guide...