Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    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.

    From the service provider’s perspective, the service provider’s network is on the inside, and the enterprise network is on the outside. Ingress traffic flows from the enterprise network to the service provider’s network. Egress traffic flows from the service provider’s network to the enterprise network.

    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 portal (see Example: Creating Access Policies for Subscribers). When the content provider service is activated, the forward action is taken for packets destined for the content provider network.

    Sample Junos OS and JunosE Content Provider Policies

    The sample content provider policy group includes policy lists for both Junos OS and JunosE policies. The following information shows the configuration details of the premium service policy group.

    policyGroupName=content-provider,ou=common,ou=sample,o=Policies,o=umc

    Policy List je-out

    [edit policies folder sample folder common group content-provider list je-out]
    user@host# show 
    role junose-ipv4;
    applicability output;
    rule from-content-provider {
      type junose-ipv4;
      precedence 400;
      accounting;
      forward forward {
      }
      traffic-condition content-provider {
        source-network {
          network {
            ip-address service_ipAddress;
            ip-mask service_ipMask;
            ip-operation 1;
          }
        }
      }
    }

    Policy List j-out

    [edit policies folder sample folder common group content-provider list j-out]
    user@host# show 
    role junos;
    applicability output;
    rule PR {
      type junos-filter;
      precedence 100;
      forward FA {
      }
      traffic-condition content-provider {
        source-network {
          network {
            ip-address service_ipAddress;
            ip-mask service_ipMask;
            ip-operation is;
          }
        }
      }
    }

    Policy List je-in

    [edit policies folder sample folder common group content-provider list je-in]
    user@host# show 
    role junose-ipv4;
    applicability input;
    rule to-content-provider {
      type junose-ipv4;
      precedence 400;
      accounting;
      forward forward {
      }
      traffic-condition content-provider {
        destination-network {
          network {
            ip-address service_ipAddress;
            ip-mask service_ipMask;
            ip-operation 1;
          }
        }
      }
    }

    Policy List j-in

    [edit policies folder sample folder common group content-provider list j-in]
    user@host# show 
    role junos;
    applicability input;
    rule PR {
      type junos-filter;
      precedence 100;
      forward FA {
      }
      traffic-condition content-provider {
        destination-network {
          network {
            ip-address service_ipAddress;
            ip-mask service_ipMask;
            ip-operation is;
          }
        }
      }
    }

    Defining the Premium Services

    You need to create two SAE services—one for the news service and one for the music service. 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. 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.

    [edit services global sae-service Music]
    user@host# show 
    type normal;
    policy-group /sample/content-provider;
    status active;
    available;
    parameter {
      service-ip-address 10.20.30.0;
      service-ip-mask 255.255.255.0;
    }

    News Service

    The news service is provided by the ABC company, which is a content provider.

    [edit services global sae-service News]
    user@host# show 
    description "Example for content-provider in different network";
    type normal;
    category News;
    url http://the.news.com;
    policy-group /sample/common/content-provider;
    radius-class News;
    status active;
    parameter {
      service-ip-address 10.20.40.0;
      service-ip-mask 255.255.255.0;
    }

     

    Modified: 2016-12-29