Example: Providing Premium Services
This scenario shows how service providers can offer premium services, such as video on demand, video conferencing, and voice over IP (VoIP). These types of services are turned on for short periods of time while the premium service is being used.
In this example, two content providers provide premium services. One provides a music service, and the other provides a news service.
Types of Policies
The policy used for premium services depends on the type of service being used. Generally, policies with filter, forward, rate-limit or policer actions, and QoS features are used.
The policy rules in premium services typically have a higher priority (smaller precedence number) than other services and default policies. In this case, the policy rules in the content provider service policies have a priority of 400. The default policy rule has a priority of 500.
The default policy uses the next-hop action to send all traffic destined for the networks of these content providers to the SSP (see Sample Access Policies). When the content provider service is activated, the forward action is taken for packets destined for the content provider network.
Sample JUNOS and JUNOSe Content Provider Policies
The sample content provider policy group includes policy lists for both JUNOS and JUNOSe policies. Figure 38 shows a summary of the content provider policy group.
![]()
The following information shows the configuration details of the premium service policy group shown in Figure 38.
policyGroupName=content-provider,ou=common,ou=sample,o=Policies,o=umcPolicyList je-out
name=je-outpolicyRoles=JUNOSEapplicability=outputPolicyRule PRpriority=400type=JUNOSEaccountingRule=trueClassifyTrafficConditionSourceNetwork:ipAddress=service_ipAddressipMask=service_ipMaskipOperation=isForward ActionPolicyList j-out
name=j-outpolicyRoles=JUNOSapplicability=outputPolicyRule PRpriority=400type=JUNOS FILTERaccountingRule=trueClassifyTrafficConditionSourceNetwork:ipAddress=service_ipAddressipMask=service_ipMaskipOperation=isForward ActionPolicyList je-in
name=je-inpolicyRoles=JUNOSEapplicability=inputPolicyRule: name=PRpriority=400type=JUNOSEaccountingRule=trueClassifyTrafficConditionDestinationNetwork:ipAddress=service_ipAddressipMask=service_ipMaskipOperation=isForward ActionPolicyList j-in
name=j-inpolicyRoles=JUNOSapplicability=inputPolicyRule: name=PRpriority=400type=JUNOS FILTERaccountingRule=trueClassifyTrafficConditionDestinationNetwork:ipAddress=service_ipAddressipMask=service_ipMaskipOperation=isForward ActionDefining the Premium Services
You need to create two value-added (SSP) services—one for the news service and one for the music service. As shown in Figure 39, assign to the new service- the content-provider policy group that we created in the last section.
![]()
For each service, define a substitution value for the service_ipAddress and service_ipMask parameters. (See Figure 40.) Note that each content provider has a different service_ipAddress parameter.
![]()
Music Service
The music service is provided by the XYZ company, which is a content provider.
serviceName=Music,o=Services,o=umcpolicyGroupName: content-provider,ou=common,ou=sample,o=Policies,o=umcsubstitution:service_ipAddress=10.20.30.0service_ipMask=255.255.255.0News Service
The news service is provided by the ABC company, which is a content provider.
serviceName=News,o=Services,o=umcpolicyGroupName: content-provider,ou=common,ou=sample,o=Policies,o=umcsubstitution:service_ipAddress=10.20.40.0service_ipMask=255.255.255.0