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: Configuring Quality of Service

    This example describes how to configure quality of service (QoS) on the MobileNext Broadband Gateway, and consists of the following sections:

    Requirements

    This example uses the following hardware and software components:

    • An operational MX Series chassis
    • Junos OS Mobility package

    Before you begin:

    • Configure mobile interfaces for access point names (APNs)
    • Configure APNs on the broadband gateway
    • Configure Junos OS class-of-service (CoS) forwarding classes

    Overview

    In a mobile network, the availability of network resources is shared among multiple services (including Iinternet, voice, video, email, and file sharing), each of which have different QoS requirements in terms of required bit rates, acceptable packet loss rates, and packet delay. To define the QoS treatment for 3G and 4G subscriber traffic on the broadband gateway, you configure the following QoS components:

    • Classifier profiles—Define the mapping of each traffic class and QoS Class Identifier to a forwarding class and packet loss priority. You configure a separate classifier profiles for home, visiting, and roaming subscribers in 3G and 4G networks.
    • Resource threshold profiles—Define the thresholds for number of bearers, system load, memory , and CPU load. Call admission control (CAC) is based on the configured resource thresholds and allows only higher priority traffic when low or high resource thresholds are exceeded. You can configure separate resource threshold profiles for 3G, 4G, and system-level (3G/4G) subscribers.
    • CoS policy profiles—Define the negotiation of QoS parameters to determine when bearer requests can be upgraded, downgraded, or rejected. You define CoS policy profiles to provide separate QoS configurations for home, visiting, and roaming subscribers on 3G and 4G networks.
    • Bandwidth pools—Define bandwidth pools to limit guaranteed bit rate (GBR) utilization (3G networks).
    • Local policies—Define the overall CoS and call admission control behavior for 3G and 4G subscriber traffic. A local policy is applied at either the gateway or access point name (APN) level. A local policy applied at the APN level takes priority over a local policy applied at the gateway. Each local policy includes the classifier profiles, resource threshold profiles, and CoS policy profiles that define the overall QoS treatment for 3G subscriber traffic, 4G subscriber traffic, or both. A local policy can include multiple classifier profiles, resource threshold profiles, and CoS policy profiles to provide QoS treatment specific to the home, visiting, and roaming subscribers on 3G and 4G networks.
    • Rewrite rules—Provide the required DiffServ code point (DSCP) marking of subscriber packets for uplink and downlink traffic.

    Configuration

    To configure QoS on the broadband gateway, perform the following tasks:

    Configuring Classifier Profiles for Home Subscribers on a 3G Network

    CLI Quick Configuration

    To quickly configure this example, copy the following commands and paste them into the router terminal window:

    [edit]set unified-edge cos-cac classifier-profiles home_v1 traffic-class conversational forwarding-class af1 loss-priority lowset unified-edge cos-cac classifier-profiles home_v1 traffic-class streaming forwarding-class af2 loss-priority lowset unified-edge cos-cac classifier-profiles home_v1 traffic-class background forwarding-class ef loss-priority highset unified-edge cos-cac classifier-profiles home_v1 traffic-class interactive traffic-handling-priority 1 forwarding-class af3 loss-priority lowset unified-edge cos-cac classifier-profiles home_v1 traffic-class interactive traffic-handling-priority 2 forwarding-class af4 loss-priority lowset unified-edge cos-cac classifier-profiles home_v1 traffic-class interactive traffic-handling-priority 3 forwarding-class af5 loss-priority low

    Step-by-Step Procedure

    To configure a classifier profile for home subscribers on a 3G network:

    1. Specify a name for the home classifier profile and map each traffic class to a forwarding class and packet loss priority.
      [edit]user@ggsn-pgw# set unified-edge cos-cac classifier-profiles home_v1 traffic-class conversational forwarding-class af1 loss-priority lowuser@ggsn-pgw# set unified-edge cos-cac classifier-profiles home_v1 traffic-class streaming forwarding-class af2 loss-priority lowuser@ggsn-pgw# set unified-edge cos-cac classifier-profiles home_v1 traffic-class background forwarding-class ef loss-priority highuser@ggsn-pgw# set unified-edge cos-cac classifier-profiles home_v1 traffic-class interactive traffic-handling-priority 1 forwarding-class af3 loss-priority lowuser@ggsn-pgw# set unified-edge cos-cac classifier-profiles home_v1 traffic-class interactive traffic-handling-priority 2 forwarding-class af4 loss-priority lowuser@ggsn-pgw# set unified-edge cos-cac classifier-profiles home_v1 traffic-class interactive traffic-handling-priority 3 forwarding-class af5 loss-priority low

    Results

    From configuration mode, confirm your configuration by entering the show command. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.

    If you are done configuring the device, enter commit from configuration mode.

    Configuring Classifier Profiles for Home Subscribers on a 4G Network

    CLI Quick Configuration

    To quickly configure this example, copy the following commands and paste them into the router terminal window:

    [edit]set unified-edge cos-cac classifier-profiles home_v2 qos-class-identifier 5 forwarding-class af1 loss-priority lowset unified-edge cos-cac classifier-profiles home_v2 qos-class-identifier 6 forwarding-class af2 loss-priority lowset unified-edge cos-cac classifier-profiles home_v2 qos-class-identifier 7 forwarding-class af3 loss-priority lowset unified-edge cos-cac classifier-profiles home_v2 qos-class-identifier 8 forwarding-class af4 loss-priority lowset unified-edge cos-cac classifier-profiles home_v2 qos-class-identifier 9 forwarding-class af5 loss-priority low

    Step-by-Step Procedure

    To configure a classifier profile for home subscribers on a 4G network:

    • Specify a name for the home classifier profile and map each QoS Class Identifier to a forwarding class and packet loss priority.
      [edit]user@ggsn-pgw# set unified-edge cos-cac classifier-profiles home_v2 qos-class-identifier 5 forwarding-class af1 loss-priority lowuser@ggsn-pgw# set unified-edge cos-cac classifier-profiles home_v2 qos-class-identifier 6 forwarding-class af2 loss-priority lowuser@ggsn-pgw# set unified-edge cos-cac classifier-profiles home_v2 qos-class-identifier 7 forwarding-class af3 loss-priority lowuser@ggsn-pgw# set unified-edge cos-cac classifier-profiles home_v2 qos-class-identifier 8 forwarding-class af4 loss-priority lowuser@ggsn-pgw# set unified-edge cos-cac classifier-profiles home_v2 qos-class-identifier 9 forwarding-class af5 loss-priority low

    Results

    From configuration mode, confirm your configuration by entering the show command. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.

    If you are done configuring the device, enter commit from configuration mode.

    Configuring Classifier Profiles for Roaming Subscribers on a 3G Network

    CLI Quick Configuration

    To quickly configure this example, copy the following commands and paste them into the router terminal window:

    [edit]set unified-edge cos-cac classifier-profiles roamer_v1 traffic-class conversational forwarding-class af1 loss-priority highset unified-edge cos-cac classifier-profiles roamer_v1 traffic-class streaming forwarding-class af2 loss-priority highset unified-edge cos-cac classifier-profiles roamer_v1 traffic-class background forwarding-class be loss-priority lowset unified-edge cos-cac classifier-profiles roamer_v1 traffic-class interactive traffic-handling-priority 1 forwarding-class af3 loss-priority highset unified-edge cos-cac classifier-profiles roamer_v1 traffic-class interactive traffic-handling-priority 2 forwarding-class af4 loss-priority highset unified-edge cos-cac classifier-profiles roamer_v1 traffic-class interactive traffic-handling-priority 3 forwarding-class af5 loss-priority high

    Step-by-Step Procedure

    To configure classifier profiles for roaming subscribers on a 3G network:

    • Specify a name for the roamer classifier profile and map each traffic class to a forwarding class and packet loss priority.
      [edit]user@ggsn-pgw# set unified-edge cos-cac classifier-profiles roamer_v1 traffic-class conversational forwarding-class af1 loss-priority highuser@ggsn-pgw# set unified-edge cos-cac classifier-profiles roamer_v1 traffic-class streaming forwarding-class af2 loss-priority highuser@ggsn-pgw# set unified-edge cos-cac classifier-profiles roamer_v1 traffic-class background forwarding-class be loss-priority lowuser@ggsn-pgw# set unified-edge cos-cac classifier-profiles roamer_v1 traffic-class interactive traffic-handling-priority 1 forwarding-class af3 loss-priority highuser@ggsn-pgw# set unified-edge cos-cac classifier-profiles roamer_v1 traffic-class interactive traffic-handling-priority 2 forwarding-class af4 loss-priority highuser@ggsn-pgw# set unified-edge cos-cac classifier-profiles roamer_v1 traffic-class interactive traffic-handling-priority 3 forwarding-class af5 loss-priority high

    Configuring Classifier Profiles for Roaming Subscribers on a 4G Network

    CLI Quick Configuration

    To quickly configure this example, copy the following commands and paste them into the router terminal window:

    [edit]set unified-edge cos-cac classifier-profiles roamer_v2 qos-class-identifier 5 forwarding-class af3 loss-priority lowset unified-edge cos-cac classifier-profiles roamer_v2 qos-class-identifier 6 forwarding-class af4 loss-priority lowset unified-edge cos-cac classifier-profiles roamer_v2 qos-class-identifier 7 forwarding-class af5 loss-priority lowset unified-edge cos-cac classifier-profiles roamer_v2 qos-class-identifier 8 forwarding-class ef loss-priority high set unified-edge cos-cac classifier-profiles roamer_v2 qos-class-identifier 9 forwarding-class be loss-priority high

    Step-by-Step Procedure

    To configure classifier profiles for roaming subscribers on a 4G network:

    1. For a 4G network, specify a name for the roamer classifier profile and map each QoS Class Identifier to a forwarding class and packet loss priority.
      [edit]user@ggsn-pgw# set unified-edge cos-cac classifier-profiles roamer_v2 qos-class-identifier 5 forwarding-class af3 loss-priority lowuser@ggsn-pgw# set unified-edge cos-cac classifier-profiles roamer_v2 qos-class-identifier 6 forwarding-class af4 loss-priority lowuser@ggsn-pgw# set unified-edge cos-cac classifier-profiles roamer_v2 qos-class-identifier 7 forwarding-class af5 loss-priority lowuser@ggsn-pgw# set unified-edge cos-cac classifier-profiles roamer_v2 qos-class-identifier 8 forwarding-class ef loss-priority high user@ggsn-pgw# set unified-edge cos-cac classifier-profiles roamer_v2 qos-class-identifier 9 forwarding-class be loss-priority high

    Configuring Classifier Profiles for Visitor Subscribers on a 3G Network

    CLI Quick Configuration

    To quickly configure this example, copy the following commands and paste them into the router terminal window:

    [edit]set unified-edge cos-cac classifier-profiles visitor_v1 traffic-class conversational forwarding-class af2 loss-priority highset unified-edge cos-cac classifier-profiles visitor_v1 traffic-class streaming forwarding-class af3 loss-priority highset unified-edge cos-cac classifier-profiles visitor_v1 traffic-class background forwarding-class nc loss-priority highset unified-edge cos-cac classifier-profiles visitor_v1 traffic-class interactive traffic-handling-priority 1 forwarding-class af4 loss-priority highset unified-edge cos-cac classifier-profiles visitor_v1 traffic-class interactive traffic-handling-priority 2 forwarding-class af5 loss-priority lowset unified-edge cos-cac classifier-profiles visitor_v1 traffic-class interactive traffic-handling-priority 3 forwarding-class be loss-priority high

    Step-by-Step Procedure

    To configure classifier profiles for visitor subscribers on a 3G network:

    1. Specify a name for the visitor classifier profile and map each traffic class to a forwarding class and packet loss priority.
      user@ggsn-pgw# set unified-edge cos-cac classifier-profiles visitor_v1 traffic-class conversational forwarding-class af2 loss-priority highuser@ggsn-pgw# set unified-edge cos-cac classifier-profiles visitor_v1 traffic-class streaming forwarding-class af3 loss-priority highuser@ggsn-pgw# set unified-edge cos-cac classifier-profiles visitor_v1 traffic-class background forwarding-class nc loss-priority highuser@ggsn-pgw# set unified-edge cos-cac classifier-profiles visitor_v1 traffic-class interactive traffic-handling-priority 1 forwarding-class af4 loss-priority highuser@ggsn-pgw# set unified-edge cos-cac classifier-profiles visitor_v1 traffic-class interactive traffic-handling-priority 2 forwarding-class af5 loss-priority lowuser@ggsn-pgw# set unified-edge cos-cac classifier-profiles visitor_v1 traffic-class interactive traffic-handling-priority 3 forwarding-class be loss-priority high

    Configuring Classifier Profiles for Visitor Subscribers on a 4G Network

    CLI Quick Configuration

    To quickly configure this example, copy the following commands and paste them into the router terminal window:

    [edit]set unified-edge cos-cac classifier-profiles visitor_v2 qos-class-identifier 5 forwarding-class af4 loss-priority highset unified-edge cos-cac classifier-profiles visitor_v2 qos-class-identifier 6 forwarding-class af5 loss-priority highset unified-edge cos-cac classifier-profiles visitor_v2 qos-class-identifier 7 forwarding-class ef loss-priority highset unified-edge cos-cac classifier-profiles visitor_v2 qos-class-identifier 8 forwarding-class be loss-priority highset unified-edge cos-cac classifier-profiles visitor_v2 qos-class-identifier 9 forwarding-class nc loss-priority high

    Step-by-Step Procedure

    To configure classifier profiles for visitor subscribers on a 4G network:

    1. Specify a name for the visitor classifier profile and map each QoS Class Identifier to a forwarding class and packet loss priority.
      [edit]user@ggsn-pgw# set unified-edge cos-cac classifier-profiles visitor_v2 qos-class-identifier 5 forwarding-class af4 loss-priority highuser@ggsn-pgw# set unified-edge cos-cac classifier-profiles visitor_v2 qos-class-identifier 6 forwarding-class af5 loss-priority highuser@ggsn-pgw# set unified-edge cos-cac classifier-profiles visitor_v2 qos-class-identifier 7 forwarding-class ef loss-priority highuser@ggsn-pgw# set unified-edge cos-cac classifier-profiles visitor_v2 qos-class-identifier 8 forwarding-class be loss-priority highuser@ggsn-pgw# set unified-edge cos-cac classifier-profiles visitor_v2 qos-class-identifier 9 forwarding-class nc loss-priority high

    Configuring a System-Wide Classifier Profile

    CLI Quick Configuration

    To quickly configure this example, copy the following commands and paste them into the router terminal window:

    [edit]set unified-edge cos-cac classifier-profiles system_wide traffic-class conversational forwarding-class af2 loss-priority lowset unified-edge cos-cac classifier-profiles system_wide traffic-class streaming forwarding-class af3 loss-priority lowset unified-edge cos-cac classifier-profiles system_wide traffic-class background forwarding-class be loss-priority highset unified-edge cos-cac classifier-profiles system_wide traffic-class interactive traffic-handling-priority 1 forwarding-class a4 loss-priority highset unified-edge cos-cac classifier-profiles system_wide traffic-class interactive traffic-handling-priority 2 forwarding-class nc loss-priority highset unified-edge cos-cac classifier-profiles system_wide traffic-class interactive traffic-handling-priority 3 forwarding-class ef loss-priority highset unified-edge cos-cac classifier-profiles system_wide qos-class-identifier 5 forwarding-class af2 loss-priority lowset unified-edge cos-cac classifier-profiles system_wide qos-class-identifier 6 forwarding-class af3 loss-priority lowset unified-edge cos-cac classifier-profiles system_wide qos-class-identifier 7 forwarding-class af4 loss-priority lowset unified-edge cos-cac classifier-profiles system_wide qos-class-identifier 8 forwarding-class af5 loss-priority highset unified-edge cos-cac classifier-profiles system_wide qos-class-identifier 9 forwarding-class ef loss-priority high

    Step-by-Step Procedure

    To configure the system-wide classifier profile for 3G and 4G networks:

    1. Specify a name (system_wide) for the classifier profile and map each traffic class to a forwarding class and packet loss priority.
      [edit]user@ggsn-pgw# set unified-edge cos-cac classifier-profiles system_wide traffic-class conversational forwarding-class af2 loss-priority lowuser@ggsn-pgw# set unified-edge cos-cac classifier-profiles system_wide traffic-class streaming forwarding-class af3 loss-priority lowuser@ggsn-pgw# set unified-edge cos-cac classifier-profiles system_wide traffic-class background forwarding-class be loss-priority highuser@ggsn-pgw# set unified-edge cos-cac classifier-profiles system_wide traffic-class interactive traffic-handling-priority 1 forwarding-class a4 loss-priority highuser@ggsn-pgw# set unified-edge cos-cac classifier-profiles system_wide traffic-class interactive traffic-handling-priority 2 forwarding-class nc loss-priority highuser@ggsn-pgw# set unified-edge cos-cac classifier-profiles system_wide traffic-class interactive traffic-handling-priority 3 forwarding-class ef loss-priority high
    2. In the system_wide classifier profile, map each QoS Classifier Identifier to a forwarding class and packet loss priority.
      [edit]user@ggsn-pgw# set unified-edge cos-cac classifier-profiles system_wide qos-class-identifier 5 forwarding-class af2 loss-priority lowuser@ggsn-pgw# set unified-edge cos-cac classifier-profiles system_wide qos-class-identifier 6 forwarding-class af3 loss-priority lowuser@ggsn-pgw# set unified-edge cos-cac classifier-profiles system_wide qos-class-identifier 7 forwarding-class af4 loss-priority lowuser@ggsn-pgw# set unified-edge cos-cac classifier-profiles system_wide qos-class-identifier 8 forwarding-class af5 loss-priority highuser@ggsn-pgw# set unified-edge cos-cac classifier-profiles system_wide qos-class-identifier 9 forwarding-class ef loss-priority high

    Results

    From configuration mode, confirm your configuration by entering the show command at the various hierarchy levels. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.

    If you are done configuring the device, enter commit from configuration mode.

    Configuring a Resource Threshold Profile for Subscribers on a 3G Network

    CLI Quick Configuration

    To quickly configure this example, copy the following commands and paste them into the router terminal window:

    [edit]set unified-edge cos-cac resource-threshold-profiles resource_v1 bearers-load low percentage 60set unified-edge cos-cac resource-threshold-profiles resource_v1 bearers-load low gtpv1-arp 2set unified-edge cos-cac resource-threshold-profiles resource_v1 bearers-load high percentage 80set unified-edge cos-cac resource-threshold-profiles resource_v1 bearers-load high gtpv1-arp 1set unified-edge cos-cac resource-threshold-profiles resource_v1 cpu low percentage 70set unified-edge cos-cac resource-threshold-profiles resource_v1 cpu low gtpv1-arp 2set unified-edge cos-cac resource-threshold-profiles resource_v1 cpu high percentage 80set unified-edge cos-cac resource-threshold-profiles resource_v1 cpu high gtpv1-arp 1set unified-edge cos-cac resource-threshold-profiles resource_v1 system-load low percentage 85set unified-edge cos-cac resource-threshold-profiles resource_v1 system-load low gtpv1-arp 2set unified-edge cos-cac resource-threshold-profiles resource_v1 system-load high percentage 90set unified-edge cos-cac resource-threshold-profiles resource_v1 system-load high gtpv1-arp 1set unified-edge cos-cac resource-threshold-profiles resource_v1 memory low percentage 85set unified-edge cos-cac resource-threshold-profiles resource_v1 memory low gtpv1-arp 2set unified-edge cos-cac resource-threshold-profiles resource_v1 memory high percentage 90set unified-edge cos-cac resource-threshold-profiles resource_v1 memory high gtpv1-arp 1

    Step-by-Step Procedure

    To configure resource threshold profiles for subscribers on a 3G network:

    1. Specify a name for the resource threshold profile and configure the low and high thresholds for bearer load, CPU load, system load, and memory load.
      [edit]user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles resource_v1 bearers-load low percentage 60user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles resource_v1 bearers-load low gtpv1-arp 2user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles resource_v1 bearers-load high percentage 80user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles resource_v1 bearers-load high gtpv1-arp 1
    2. Configure the low and high thresholds for the CPU load.
      [edit]user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles resource_v1 cpu low percentage 70user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles resource_v1 cpu low gtpv1-arp 2user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles resource_v1 cpu high percentage 80user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles resource_v1 cpu high gtpv1-arp 4
    3. Configure the low and high thresholds for the system load.
      [edit]user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles resource_v1 system-load low percentage 85user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles resource_v1 system-load low gtpv1-arp 2user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles resource_v1 system-load high percentage 90user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles resource_v1 system-load high gtpv1-arp 1

      Note: System load is an average of memory and CPU, so the values you specify for the system load should take into consideration values specified for the memory and CPU load.

    4. Configure the low and high thresholds for the memory load.
      [edit]user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles resource_v1 memory low percentage 85user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles resource_v1 memory low gtpv1-arp 2user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles resource_v1 memory high percentage 90user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles resource_v1 memory high gtpv1-arp 1

    Results

    From configuration mode, confirm your configuration by entering the show command at the various hierarchy levels. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.

    If you are done configuring the device, enter commit from configuration mode.

    Configuring a Resource Threshold Profile for Subscribers on a 4G Network

    CLI Quick Configuration

    To quickly configure this example, copy the following commands and paste them into the router terminal window:

    [edit]set unified-edge cos-cac resource-threshold-profiles resource_v2 bearers-load low percentage 60set unified-edge cos-cac resource-threshold-profiles resource_v2 bearers-load low gtpv2-priority-level 7set unified-edge cos-cac resource-threshold-profiles resource_v2 bearers-load high percentage 80set unified-edge cos-cac resource-threshold-profiles resource_v2 bearers-load high gtpv2-priority-level 4set unified-edge cos-cac resource-threshold-profiles resource_v2 cpu low percentage 70set unified-edge cos-cac resource-threshold-profiles resource_v2 cpu low gtpv2-priority-level 7set unified-edge cos-cac resource-threshold-profiles resource_v2 cpu high percentage 80set unified-edge cos-cac resource-threshold-profiles resource_v2 cpu high gtpv2-priority-level 4set unified-edge cos-cac resource-threshold-profiles resource_v2 system-load low percentage 85set unified-edge cos-cac resource-threshold-profiles resource_v2 system-load low gtpv2-priority-level 7set unified-edge cos-cac resource-threshold-profiles resource_v2 system-load high percentage 90set unified-edge cos-cac resource-threshold-profiles resource_v2 system-load high gtpv2-priority-level 4set unified-edge cos-cac resource-threshold-profiles resource_v2 memory low percentage 85set unified-edge cos-cac resource-threshold-profiles resource_v2 memory low gtpv2-priority-level 10set unified-edge cos-cac resource-threshold-profiles resource_v2 memory high percentage 90set unified-edge cos-cac resource-threshold-profiles resource_v2 memory high gtpv2-priority-level 5

    Step-by-Step Procedure

    To configure resource threshold profiles for subscribers on a 4G network:

    1. Configure the low and high thresholds for bearer load.
      [edit]user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles resource_v2 bearers-load low percentage 60user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles resource_v2 bearers-load low gtpv2-priority-level 7user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles resource_v2 bearers-load high percentage 80user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles resource_v2 bearers-load high gtpv2-priority-level 4
    2. Configure the low and high thresholds for the CPU load.
      [edit]user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles resource_v2 cpu low percentage 70user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles resource_v2 cpu low gtpv2-priority-level 7user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles resource_v2 cpu high percentage 80user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles resource_v2 cpu high gtpv2-priority-level 4
    3. Configure the low and high thresholds for the system load.
      [edit]user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles resource_v2 system-load low percentage 85user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles resource_v2 system-load low gtpv2-priority-level 7user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles resource_v2 system-load high percentage 90user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles resource_v2 system-load high gtpv2-priority-level 4

      Note: System load is an average of memory and CPU, so the values you specify for the system load should take into consideration values specified for the memory load and CPU load.

    4. Configure the low and high thresholds for the memory load.
      [edit]user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles resource_v2 memory low percentage 85user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles resource_v2 memory low gtpv2-priority-level 10user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles resource_v2 memory high percentage 90user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles resource_v2 memory high gtpv2-priority-level 5

    Results

    From configuration mode, confirm your configuration by entering the show command at the various hierarchy levels. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.

    If you are done configuring the device, enter commit from configuration mode.

    Configuring a System-Wide Resource Threshold Profile

    CLI Quick Configuration

    To quickly configure this example, copy the following commands and paste them into the router terminal window:

    [edit]set unified-edge cos-cac resource-threshold-profilessystem_wide bearers-load low percentage 60set unified-edge cos-cac resource-threshold-profiles system_wide bearers-load low gtpv2-priority-level 7set unified-edge cos-cac resource-threshold-profiles system_wide bearers-load low gtpv1-arp 2set unified-edge cos-cac resource-threshold-profiles system_wide bearers-load high percentage 80set unified-edge cos-cac resource-threshold-profiles system_wide bearers-load high gtpv2-priority-level 4set unified-edge cos-cac resource-threshold-profiles system_wide bearers-load high gtpv1-arp 1set unified-edge cos-cac resource-threshold-profiles system_wide cpu low percentage 70set unified-edge cos-cac resource-threshold-profiles system_wide cpu low gtpv2-priority-level 7set unified-edge cos-cac resource-threshold-profiles system_wide cpu low gtpv1-arp 2set unified-edge cos-cac resource-threshold-profiles system_wide cpu high percentage 80set unified-edge cos-cac resource-threshold-profiles system_wide cpu high gtpv2-priority-level 5set unified-edge cos-cac resource-threshold-profiles system_wide cpu high gtpv1-arp 1set unified-edge cos-cac resource-threshold-profiles system_wide system-load low percentage 85set unified-edge cos-cac resource-threshold-profiles system_wide system-load low gtpv2-priority-level 7set unified-edge cos-cac resource-threshold-profiles system_wide system-load low gtpv1-arp 2set unified-edge cos-cac resource-threshold-profiles system_wide system-load high percentage 90set unified-edge cos-cac resource-threshold-profiles system_wide system-load high gtpv2-priority-level 4set unified-edge cos-cac resource-threshold-profiles system_wide system-load high gtpv1-arp1set unified-edge cos-cac resource-threshold-profiles system_wide memory low percentage 85set unified-edge cos-cac resource-threshold-profiles system_wide memory low gtpv2-priority-level 10set unified-edge cos-cac resource-threshold-profiles system_wide memory low gtpv1-arp 2set unified-edge cos-cac resource-threshold-profiles system_wide memory high percentage 90set unified-edge cos-cac resource-threshold-profiles system_wide memory high gtpv2-priority-level 5set unified-edge cos-cac resource-threshold-profiles system_wide memory high gtpv1-arp 1

    Step-by-Step Procedure

    To configure a system-wide resource threshold profile:

    1. Specify a name for the resource threshold profile and configure the low and high thresholds for bearer load.
      [edit]user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles system_wide bearers-load low percentage 60user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles system_wide bearers-load low gtpv2-priority-level 7user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles system_wide bearers-load low gtpv1-arp 2user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles system_wide bearers-load high percentage 80user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles system_wide bearers-load high gtpv2-priority-level 4user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles system_wide bearers-load high gtpv1-arp 1
    2. Configure the low and high thresholds for the CPU load.
      [edit]user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles system_wide cpu low percentage 70user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles system_wide cpu low gtpv2-priority-level 7user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles system_wide cpu low gtpv1-arp 2user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles system_wide cpu high percentage 80user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles system_wide cpu high gtpv2-priority-level 5user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles system_wide cpu high gtpv1-arp 1
    3. Configure the low and high thresholds for the system load.
      [edit]user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles system_wide system-load low percentage 85user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles system_wide system-load low gtpv2-priority-level 7user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles system_wide system-load low gtpv1-arp 2user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles system_wide system-load high percentage 90user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles system_wide system-load high gtpv2-priority-level 4user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles system_wide system-load high gtpv1-arp1

      Note: System load is an average of the memory load and CPU load, so the values you specify for the system load should take into consideration values specified for the memory load and CPU load.

    4. Configure the low and high thresholds for the memory load.
      [edit]user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles system_wide memory low percentage 85user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles system_wide memory low gtpv2-priority-level 10user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles system_wide memory low gtpv1-arp 2user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles system_wide memory high percentage 90user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles system_wide memory high gtpv2-priority-level 5user@ggsn-pgw# set unified-edge cos-cac resource-threshold-profiles system_wide memory high gtpv1-arp 1

    Results

    From configuration mode, confirm your configuration by entering the show command at the various hierarchy levels. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.

    If you are done configuring the device, enter commit from configuration mode.

    Configuring a CoS Policy Profile for Home Subscribers on a 3G Network

    CLI Quick Configuration

    To quickly configure this example, copy the following commands and paste them into the router terminal window:

    [edit]set unified-edge cos-cac cos-policy-profiles home_v1 maximum-bit-rate traffic-class conversational both 3072set unified-edge cos-cac cos-policy-profiles home_v1 maximum-bit-rate traffic-class streaming both 2500set unified-edge cos-cac cos-policy-profiles home_v1 maximum-bit-rate traffic-class interactive both 896set unified-edge cos-cac cos-policy-profiles home_v1 maximum-bit-rate traffic-class background both 896set unified-edge cos-cac cos-policy-profiles home_v1 maximum-bit-rate traffic-class upgradeset unified-edge cos-cac cos-policy-profiles home_v1 guaranteed-bit-rate traffic-class conversational both 3008set unified-edge cos-cac cos-policy-profiles home_v1 guaranteed-bit-rate traffic-class streaming both 2372set unified-edge cos-cac cos-policy-profiles home_v1 guaranteed-bit-rate traffic-class upgradeset unified-edge cos-cac cos-policy-profiles home_v1 violate-action transmitset unified-edge cos-cac cos-policy-profiles home_v1 exceed-action transmit

    Step-by-Step Procedure

    To configure a CoS policy profile for home subscribers in a 3G network:

    1. Specify a name for the CoS policy profile, configure the maximum bit rate (MBR) for 3G subscriber traffic classes, and allow upgrade of PDP context requests with a lower MBR than the configured value.
      [edit]user@ggsn-pgw# set unified-edge cos-policy-profiles home_v1 maximum-bit-rate traffic-class conversational both 3072user@ggsn-pgw# set unified-edge cos-cac cos-policy-profiles home_v1 user@ggsn-pgw# set unified-edge cos-cac cos-policy-profiles home_v1 maximum-bit-rate traffic-class streaming both 2500user@ggsn-pgw# set unified-edge cos-cac cos-policy-profiles home_v1 maximum-bit-rate traffic-class interactive both 896user@ggsn-pgw# set unified-edge cos-cac cos-policy-profiles home_v1 maximum-bit-rate traffic-class background both 896user@ggsn-pgw# set unified-edge cos-cac cos-policy-profiles home_v1 maximum-bit-rate traffic-class upgrade
    2. Configure the guaranteed bit rate (GBR) for 3G subscriber traffic and allow upgrade PDP context requests that specify a lower GBR than the configured value for a traffic class.
      [edit]user@ggsn-pgw# set unified-edge cos-cac cos-policy-profiles home_v1 guaranteed-bit-rate traffic-class conversational both 3008user@ggsn-pgw# set unified-edge cos-cac cos-policy-profiles home_v1 guaranteed-bit-rate traffic-class streaming both 2372user@ggsn-pgw# set unified-edge cos-cac cos-policy-profiles home_v1 guaranteed-bit-rate traffic-class upgrade
    3. Configure the action to take when the MBR for a PDP context request or the AMBR for a bearer request exceeds the configured value.
      [edit]user@ggsn-pgw# set unified-edge cos-cac cos-policy-profiles home_v1 violate-action transmit
    4. Configure the action to take when the GBR for a PDP context request exceeds the configured value.
      [edit]user@ggsn-pgw# set unified-edge cos-cac cos-policy-profiles home_v1 exceed-action transmit

    Results

    From configuration mode, confirm your configuration by entering the show command at the various hierarchy levels. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.

    If you are done configuring the device, enter commit from configuration mode.

    Configuring a CoS Policy Profile for Home Subscribers on a 4G Network

    CLI Quick Configuration

    To quickly configure this example, copy the following commands and paste them into the router terminal window:

    [edit]set unified-edge cos-cac cos-policy-profiles home_v2 qos-class-identifier 5 upgradeset unified-edge cos-cac cos-policy-profiles home_v2 allocation-retention-priority gtpv2-priority-value 5 upgradeset unified-edge cos-cac cos-policy-profiles home_v2 aggregated-maximum-bit-rate downlink 2048set unified-edge cos-cac cos-policy-profiles home_v2 aggregated-maximum-bit-rate uplink 2048set unified-edge cos-cac cos-policy-profiles home_v2 violate-action transmit

    Step-by-Step Procedure

    To configure a CoS policy profile for home subscribers in a 4G network:

    1. Specify a name for the CoS profile, configure the highest QoS Class Identifier (QCI) that can be accepted, and allow upgrade of bearers with a lower QCI value than the configured value.
      [edit]user@ggsn-pgw# set unified-edge cos-cac cos-policy-profiles home_v2 qos-class-identifier 5 upgrade
    2. Configure ARP to only allow bearers with an ARP that is higher than or equal to the configured value when resources are limited.
      [edit]user@ggsn-pgw# set unified-edge cos-cac cos-policy-profiles home_v2 allocation-retention-priority gtpv2-priority-value 4 upgrade
    3. Configure the aggregate maximum bit rate (AMBR) for downlink and uplink traffic.
      [edit]user@ggsn-pgw# set unified-edge cos-cac cos-policy-profiles home_v2 aggregated-maximum-bit-rate downlink 2048user@ggsn-pgw# set unified-edge cos-cac cos-policy-profiles home_v2 aggregated-maximum-bit-rate uplink 2048
    4. Configure the action to take when the AMBR for a bearer request exceeds the configured value.
      [edit]user@ggsn-pgw# set unified-edge cos-cac cos-policy-profiles home_v2 violate-action transmit

      Note: The policer configuration specified in the home CoS policy profile also automatically determines the policer actions for visitor and roamer CoS policy profiles.

    Results

    From configuration mode, confirm your configuration by entering the show command at the various hierarchy levels. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.

    If you are done configuring the device, enter commit from configuration mode.

    Configuring a CoS Policy Profile for Roaming Subscribers on a 3G Network

    CLI Quick Configuration

    To quickly configure this example, copy the following commands and paste them into the router terminal window:

    [edit]set unified-edge cos-cac cos-policy-profiles roamer_v1 allocation-retention-priority gtpv1-priority-value 2set unified-edge cos-cac cos-policy-profiles roamer_v1 maximum-bit-rate traffic-class conversational both 2500set unified-edge cos-cac cos-policy-profiles roamer_v1 maximum-bit-rate traffic-class streaming both 2048set unified-edge cos-cac cos-policy-profiles roamer_v1 maximum-bit-rate traffic-class interactive both 896set unified-edge cos-cac cos-policy-profiles roamer_v1 maximum-bit-rate traffic-class background both 768set unified-edge cos-cac cos-policy-profiles roamer_v1 guaranteed-bit-rate traffic-class conversational both 2372set unified-edge cos-cac cos-policy-profiles roamer_v1 guaranteed-bit-rate traffic-class streaming both 1984

    Step-by-Step Procedure

    To configure a CoS policy profile for roaming subscribers in a 3G network:

    1. Specify a name for the CoS policy profile and configure the ARP to only allow bearers with an ARP that is higher than or equal to the configured value when resources are limited.
      [edit]user@ggsn-pgw# set unified-edge cos-cac cos-policy-profiles roamer_v1 allocation-retention-priority gtpv1-priority-value 2
    2. Configure the MBR for 3G subscriber traffic classes.
      [edit]user@ggsn-pgw# set unified-edge cos-policy-profiles roamer_v1 maximum-bit-rate traffic-class conversational both 2500user@ggsn-pgw# set unified-edge cos-cac cos-policy-profiles roamer_v1 maximum-bit-rate traffic-class streaming both 2048user@ggsn-pgw# set unified-edge cos-cac cos-policy-profiles roamer_v1 maximum-bit-rate traffic-class interactive both 896user@ggsn-pgw# set unified-edge cos-cac cos-policy-profiles roamer_v1 maximum-bit-rate traffic-class background both 768
    3. Configure the GBR for 3G subscriber traffic.
      [edit]user@ggsn-pgw# set unified-edge cos-cac cos-policy-profiles roamer_v1 guaranteed-bit-rate traffic-class conversational both 2372user@ggsn-pgw# set unified-edge cos-cac cos-policy-profiles roamer_v1 guaranteed-bit-rate traffic-class streaming both 1984

      Note: The policer configuration specified in the home CoS policy profile determines the actions for visitor and roamer CoS policy profiles.

    Results

    From configuration mode, confirm your configuration by entering the show command at the various hierarchy levels. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.

    If you are done configuring the device, enter commit from configuration mode.

    Configuring a CoS Policy Profile for Roaming Subscribers on a 4G Network

    CLI Quick Configuration

    To quickly configure this example, copy the following commands and paste them into the router terminal window:

    [edit]set unified-edge cos-cac cos-policy-profiles roamer_v2 qos-class-identifier 7set unified-edge cos-cac cos-policy-profiles roamer_v2 allocation-retention-priority gtpv2-priority-value 9 set unified-edge cos-cac cos-policy-profiles roamer_v2 aggregated-maximum-bit-rate downlink 1600set unified-edge cos-cac cos-policy-profiles roamer_v2 aggregated-maximum-bit-rate uplink 1600set unified-edge cos-cac cos-policy-profiles roamer_v2 aggregated-maximum-bit-rate downgradeset unified-edge cos-cac cos-policy-profiles roamer_v2 violate-action transmit

    Step-by-Step Procedure

    To configure a CoS policy profile for roaming subscribers in a 4G network:

    1. Specify a name for the CoS profile and configure the highest QCI that can be accepted.
      [edit]user@ggsn-pgw# set unified-edge cos-cac cos-policy-profiles roamer_v2 qos-class-identifier 7
    2. Configure ARP to only allow bearers with an ARP that is higher than or equal to the configured value when resources are limited.
      [edit]user@ggsn-pgw# set unified-edge cos-cac cos-policy-profiles roamer_v2 allocation-retention-priority gtpv2-priority-value 9
    3. Configure the AMBR for downlink and uplink traffic.
      [edit]user@ggsn-pgw# set unified-edge cos-cac cos-policy-profiles roamer_v2 aggregated-maximum-bit-rate downlink 1600user@ggsn-pgw# set unified-edge cos-cac cos-policy-profiles roamer_v2 aggregated-maximum-bit-rate uplink 1600
    4. Downgrade bearer requests that specify a higher AMBR than the configured AMBR value.
      [edit]user@ggsn-pgw# set unified-edge cos-cac cos-policy-profiles roamer_v2 aggregated-maximum-bit-rate downgrade

      Note: The policer configuration specified in the home CoS policy profile determines the actions for visitor and roamer CoS policy profiles.

    Results

    From configuration mode, confirm your configuration by entering the show command at the various hierarchy levels. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.

    If you are done configuring the device, enter commit from configuration mode.

    Configuring a CoS Policy Profile for Visiting Subscribers in a 3G Network

    CLI Quick Configuration

    To quickly configure this example, copy the following commands and paste them into the router terminal window:

    [edit]set unified-edge cos-cac cos-policy-profiles visitor_v1 allocation-retention-priority gtpv1-priority-value 2set unified-edge cos-cac cos-policy-profiles visitor_v1 maximum-bit-rate traffic-class conversational both 2048set unified-edge cos-cac cos-policy-profiles visitor_v1 maximum-bit-rate traffic-class streaming both 1472set unified-edge cos-cac cos-policy-profiles visitor_v1 maximum-bit-rate traffic-class interactive both 768set unified-edge cos-cac cos-policy-profiles visitor_v1 maximum-bit-rate traffic-class background both 576set unified-edge cos-cac cos-policy-profiles visitor_v1 guaranteed-bit-rate traffic-class conversational both 1984set unified-edge cos-cac cos-policy-profiles visitor_v1 guaranteed-bit-rate traffic-class streaming 1408

    Step-by-Step Procedure

    To configure a CoS policy profile for visiting subscribers in a 3G network:

    1. Specify a name for the CoS policy profile and configure the ARP to only allow bearers with an ARP that is higher than or equal to the configured value when resources are limited.
      [edit]user@ggsn-pgw# set unified-edge cos-cac cos-policy-profiles visitor_v1 gtpv1-priority-value 2
    2. Configure the MBR for 3G subscriber traffic classes.
      [edit]user@ggsn-pgw# set unified-edge cos-cac cos-policy-profiles visitor_v1 maximum-bit-rate traffic-class conversational both 2048user@ggsn-pgw# set unified-edge cos-cac cos-policy-profiles visitor_v1 maximum-bit-rate traffic-class streaming both 1472user@ggsn-pgw# set unified-edge cos-cac cos-policy-profiles visitor_v1 maximum-bit-rate traffic-class interactive both 768user@ggsn-pgw# set unified-edge cos-cac cos-policy-profiles visitor_v1 maximum-bit-rate traffic-class background both 576
    3. Configure the GBR for 3G subscriber traffic.
      [edit]user@ggsn-pgw# set unified-edge cos-cac cos-policy-profiles visitor_v1 guaranteed-bit-rate traffic-class conversational both 1984user@ggsn-pgw# set unified-edge cos-cac cos-policy-profiles visitor_v1 guaranteed-bit-rate traffic-class streaming 1408

      Note: The policer configuration specified in the home CoS policy profile determines the actions for visitor and roamer CoS policy profiles.

    Results

    From configuration mode, confirm your configuration by entering the show command at the various hierarchy levels. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.

    If you are done configuring the device, enter commit from configuration mode.

    Configuring a CoS Policy Profile for Visiting Subscribers in a 4G Network

    CLI Quick Configuration

    To quickly configure this example, copy the following commands and paste them into the router terminal window:

    [edit]set unified-edge cos-cac cos-policy-profiles visitor_v2 qos-class-identifier 5set unified-edge cos-cac cos-policy-profiles visitor_v2 allocation-retention-priority gtpv2-priority-value 9 set unified-edge cos-cac cos-policy-profiles visitor_v2 aggregated-maximum-bit-rate downlink 1600set unified-edge cos-cac cos-policy-profiles visitor_v2 aggregated-maximum-bit-rate uplink 1600set unified-edge cos-cac cos-policy-profiles visitor_v2 aggregated-maximum-bit-rate downgrade

    Step-by-Step Procedure

    To configure a CoS policy profile for visiting subscribers in a 4G network:

    1. Specify a name for the CoS profile and configure the highest QCI that can be accepted.
      [edit]user@ggsn-pgw# set unified-edge cos-cac cos-policy-profiles visitor_v2 qos-class-identifier 5
    2. Configure ARP to only allow bearers with an ARP that is higher than or equal to the configured value when resources are limited.
      [edit]user@ggsn-pgw# set unified-edge cos-cac cos-policy-profiles visitor_v2 allocation-retention-priority gtpv2-priority-value 9
    3. Configure the AMBR for downlink and uplink traffic.
      [edit]user@ggsn-pgw# set unified-edge cos-cac cos-policy-profiles visitor_v2 aggregated-maximum-bit-rate downlink 1024user@ggsn-pgw# set unified-edge cos-cac cos-policy-profiles visitor_v2 aggregated-maximum-bit-rate uplink 1024
    4. Reject bearer requests that specify a higher AMBR than the configured AMBR value.
      [edit]user@ggsn-pgw# set unified-edge cos-cac cos-policy-profiles visitor_v2 aggregated-maximum-bit-rate reject

      Note: The policer configuration specified in the home CoS policy profile determines the actions for visitor and roamer CoS policy profiles.

    Results

    From configuration mode, confirm your configuration by entering the show command at the various hierarchy levels. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.

    If you are done configuring the device, enter commit from configuration mode.

    Configuring a System-Wide CoS Policy Profile

    CLI Quick Configuration

    To quickly configure this example, copy the following commands and paste them into the router terminal window:

    [edit]set unified-edge cos-cac cos-policy-profiles system_wide aggregated-maximum-bit-rate both 1024set unified-edge cos-cac cos-policy-profiles system_wide maximum-bit-rate traffic-class conversational both 512set unified-edge cos-cac cos-policy-profiles system_wide maximum-bit-rate traffic-class streaming both 256set unified-edge cos-cac cos-policy-profiles system_wide maximum-bit-rate traffic-class interactive both 128set unified-edge cos-cac cos-policy-profiles system_wide maximum-bit-rate traffic-class background both 64set unified-edge cos-cac cos-policy-profiles system_wide guaranteed-bit-rate traffic-class conversational both 512set unified-edge cos-cac cos-policy-profiles system_wide guaranteed-bit-rate traffic-class streaming both 256set unified-edge cos-cac cos-policy-profiles system_wide violate-action transmitset unified-edge cos-cac cos-policy-profiles system_wide exceed-action transmit

    Step-by-Step Procedure

    To configure a system-level CoS policy profile for 3G and 4G subscribers:

    1. Specify a name for the CoS profile and configure the AMBR for 4G subscriber traffic.
      [edit]user@ggsn-pgw# set unified-edge cos-cac cos-policy-profiles system_wide aggregated-maximum-bit-rate both 1024
    2. Configure the MBR for 3G subscriber traffic classes.
      [edit]user@ggsn-pgw# set unified-edge cos-cac cos-policy-profiles system_wide maximum-bit-rate traffic-class conversational both 512user@ggsn-pgw# set unified-edge cos-cac cos-policy-profiles system_wide maximum-bit-rate traffic-class streaming both 256user@ggsn-pgw# set unified-edge cos-cac cos-policy-profiles system_wide maximum-bit-rate traffic-class interactive both 128user@ggsn-pgw# set unified-edge cos-cac cos-policy-profiles system_wide maximum-bit-rate traffic-class background both 64
    3. Configure the GBR for 3G subscriber traffic classes.
      [edit]user@ggsn-pgw# set unified-edge cos-cac cos-policy-profiles system_wide guaranteed-bit-rate traffic-class conversational both 512user@ggsn-pgw# set unified-edge cos-cac cos-policy-profiles system_wide guaranteed-bit-rate traffic-class streaming both 256
    4. Configure the action to take when the MBR for a PDP context request or the AMBR for a bearer request exceeds the configured value.
      [edit]user@ggsn-pgw# set unified-edge cos-cac cos-policy-profiles system_wide violate-action transmit
    5. Configure the action to take when the GBR for a PDP context request exceeds the configured value.
      [edit]user@ggsn-pgw# set unified-edge cos-cac cos-policy-profiles system_wide exceed-action transmit

    Results

    From configuration mode, confirm your configuration by entering the show command at the various hierarchy levels. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.

    If you are done configuring the device, enter commit from configuration mode.

    Configuring Bandwidth Pools

    Step-by-Step Procedure

    You configure a bandwidth pools for uplink and downlink subscriber traffic to ensure that sufficient bandwidth is available when Packet Data Protocol (PDP) contexts are created or modified. Call admission control (CAC) uses the bandwidth pools to negotiate and reserve bandwidth for PDP contexts with a guaranteed bit rate (GBR).

    1. Specify a name for the uplink bandwidth pool.
      [edit ]user@host# edit unified-edge cos-cac bandwidth-pools bw_pool_uplink
    2. Specify a name for the downlink bandwidth pool.
      [edit ]user@host# edit unified-edge cos-cac bandwidth-pools bw_pool_downlink
    3. Configure the total bandwidth for each bandwidth pool, in megabits per second (mbps).
      [edit]user@host# set unified-edge cos-cac bandwidth-pools bw_pool_uplink bandwidth 125000 user@host# set unified-edge cos-cac bandwidth-pools bw_pool_downlink bandwidth 500000
    4. Allocate bandwidth from the bandwidth pool to the conversational and streaming traffic classes as a percentage of the total bandwidth for the pool:

      Step-by-Step Procedure

      1. Allocate a percentage of the total bandwidth to reserve for the conversational traffic class.
        [edit]user@host# set unified-edge cos-cac bandwidth-pools bw_pool_uplink traffic-class conversational percentage 35user@host# set unified-edge cos-cac bandwidth-pools bw_pool_downlink traffic-class conversational percentage 35
      2. Allocate the percentage of the total bandwidth to be reserved for the streaming traffic class.
        [edit]user@host# set unified-edge cos-cac bandwidth-pools bw_pool_uplink traffic-class streaming percentage 20user@host# set unified-edge cos-cac bandwidth-pools bw_pool_downlink traffic-class streaming percentage 20

    Configuring a Local Policy for 3G Networks

    CLI Quick Configuration

    To quickly configure this example, copy the following commands and paste them into the router terminal window:

    [edit]edit unified-edge local-policies local_v1set unified-edge local-policies local_v1 resource-threshold-profile resource_v1set unified-edge local-policies local_v1 classifier-profile home_v1set unified-edge local-policies local_v1 cos-policy-profile home_v1set unified-edge local-policies local_v1 roamer-classifier-profile roamer_v1set unified-edge local-policies local_v1 roamer-cos-policy-profile roamer_v1set unified-edge local-policies local_v1 visitor-classifier-profile visitor_v1set unified-edge local-policies local_v1 visitor-cos-policy-profile visitor_v1set unified-edge local-policies local_v1 dl-bandwidth-pool bw_pool_downlinkset unified-edge local-policies local_v1 ul-bandwidth-pool bw_pool_uplink

    Step-by-Step Procedure

    A local policy defines the QoS treatment to be applied to the broadband gateway at the system level or APN level.

    To configure a local policy:

    1. Specify a name for the local policy.
      [edit]user@ggsn-pgw# edit unified-edge local-policies local_v1
    2. Specify a resource threshold profile for the local policy to define admission control for managing system overload conditions.
      [edit]user@ggsn-pgw# set unified-edge local-policies local_v1 resource-threshold-profile resource_v1
    3. Specify the classifier profiles for the local policy to define the mapping of traffic classes and Qos Class Identifiers to a forwarding class and loss priority.
      [edit]user@ggsn-pgw# set unified-edge local-policies local_v1 classifier-profile home_v1user@ggsn-pgw# set unified-edge local-policies local_v1 roamer-classifier-profile roamer_v1user@ggsn-pgw# set unified-edge local-policies local_v1 visitor-classifier-profile visitor_v1
    4. Specify the CoS policy profiles for the local policy to define the QoS parameters for bearer setup and teardown.
      [edit]user@ggsn-pgw# set unified-edge local-policies local_v1 cos-policy-profile home_v1user@ggsn-pgw# set unified-edge local-policies local_v1 roamer-cos-policy-profile roamer_v1user@ggsn-pgw# set unified-edge local-policies local_v1 visitor-cos-policy-profile visitor_v1
    5. Specify a bandwidth pool for downlink traffic.
      [edit]user@host# set unified-edge local-policies local_v1 dl-bandwidth-pool bw_pool_downlink
    6. Specify a bandwidth pool for uplink traffic.
      [edit]user@host# set unified-edge local-policies local_v1 ul-bandwidth-pool bw_pool_uplink

    Results

    From configuration mode, confirm your configuration by entering the show command at the various hierarchy levels. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.

    If you are done configuring the device, enter commit from configuration mode.

    Configuring a Local Policy for 4G Networks

    CLI Quick Configuration

    To quickly configure this example, copy the following commands and paste them into the router terminal window:

    [edit]edit unified-edge local-policies local_v2set unified-edge local-policies local_v2 resource-threshold-profile resource_v2set unified-edge local-policies local_v2 classifier-profile home_v2set unified-edge local-policies local_v2 cos-policy-profile home_v2set unified-edge local-policies local_v2 roamer-classifier-profile roamer_v2set unified-edge local-policies local_v2 roamer-cos-policy-profile roamer_v2set unified-edge local-policies local_v2 visitor-classifier-profile visitor_v2set unified-edge local-policies local_v2 visitor-cos-policy-profile visitor_v2set unified-edge local-policies local_v2 dl-bandwidth-pool bw_pool_downlinkset unified-edge local-policies local_v2 ul-bandwidth-pool bw_pool_uplink

    Step-by-Step Procedure

    A local policy defines the QoS treatment to be applied to the broadband gateway at the system level or APN level.

    To configure a local policy:

    1. Specify a name for the local policy.
      [edit]user@ggsn-pgw# edit unified-edge local-policies local_v2
    2. Specify a resource threshold profile for the local policy to define admission control for managing system overload conditions.
      [edit]user@ggsn-pgw# set unified-edge local-policies local_v2 resource-threshold-profile resource_v2
    3. Specify the classifier profiles for the local policy to define the mapping of Qos Class Identifiers to a forwarding class and loss priority.
      [edit]user@ggsn-pgw# set unified-edge local-policies local_v2 classifier-profile home_v2user@ggsn-pgw# set unified-edge local-policies local_v2 roamer-classifier-profile roamer_v2user@ggsn-pgw# set unified-edge local-policies local_v2 visitor-classifier-profile visitor_v2
    4. Specify the CoS policy profiles for the local policy to define the QoS parameters for bearer setup and teardown.
      [edit]user@ggsn-pgw# set unified-edge local-policies local_v2 cos-policy-profile home_v2user@ggsn-pgw# set unified-edge local-policies local_v2 roamer-cos-policy-profile roamer_v2user@ggsn-pgw# set unified-edge local-policies local_v2 visitor-cos-policy-profile visitor_v2
    5. Specify a bandwidth pool for downlink traffic.
      [edit ]user@host# set unified-edge local-policies local_v2 dl-bandwidth-pool bw_pool_downlink
    6. Specify a bandwidth pool for uplink traffic.
      [edit ]user@host# set unified-edge local-policies local_v2 ul-bandwidth-pool bw_pool_uplink

    Results

    From configuration mode, confirm your configuration by entering the show command at the various hierarchy levels. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.

    If you are done configuring the device, enter commit from configuration mode.

    Configuring a System-Wide Local Policy

    CLI Quick Configuration

    To quickly configure this example, copy the following commands and paste them into the router terminal window:

    [edit]edit unified-edge local-policies local_system_wideset unified-edge local-policies local_system_wide resource-threshold-profile resource_systemset unified-edge local-policies local_system_wide classifier-profile system_wideset unified-edge local-policies local_system_wide cos-policy-profile system_wideset unified-edge local-policies local_system_wide dl-bandwidth-pool bw_pool_downlinkset unified-edge local-policies local_system_wide ul-bandwidth-pool bw_pool_uplink

    Step-by-Step Procedure

    A local policy defines the QoS treatment to be applied to the broadband gateway at the system level or APN level.

    To configure a system-wide local policy:

    1. Specify a name for the local policy.
      [edit]user@ggsn-pgw# edit unified-edge local-policies local_system_wide
    2. Specify a resource threshold profile for the local policy to define admission control for managing system overload conditions.
      [edit]user@ggsn-pgw# set unified-edge local-policies local_system_wide resource-threshold-profile resource_system
    3. Specify the classifier profile for the local policy to define the mapping of traffic classes and Qos Class Identifiers to a forwarding class and loss priority.
      [edit]user@ggsn-pgw# set unified-edge local-policies local_system_wide classifier-profile system_wide
    4. Specify the CoS policy profiles for the local policy to define the QoS parameters for bearer setup and teardown.
      [edit]user@ggsn-pgw# set unified-edge local-policies local_system_wide cos-policy-profile system_wide
    5. Specify a bandwidth pool for downlink traffic.
      [edit ]user@host# set unified-edge local-policies local_system_wide dl-bandwidth-pool bw_pool_downlink
    6. Specify a bandwidth pool for uplink traffic.
      [edit ]user@host# set unified-edge local-policies local_system_wide ul-bandwidth-pool bw_pool_uplink

    Results

    From configuration mode, confirm your configuration by entering the show command at the various hierarchy levels. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.

    If you are done configuring the device, enter commit from configuration mode.

    Applying the Local Policies

    CLI Quick Configuration

    To quickly configure this example, copy the following commands and paste them into the router terminal window:

    [edit][set gateways ggsn-pgw MBG1 local-policy-profile local_system_wide][set gateways ggsn-pgw MBG1 apn-services apns qosv1.com local-policy-profile local_v1][set gateways ggsn-pgw MBG1 apn-services apns qosv2.com local-policy-profile local_v2]

    Step-by-Step Procedure

    You apply a local policy at the system level or APN level. A local policy applied at the APN level overrides a local policy at the system level.

    1. At the gateway level, apply the system-wide local policy.
      [edit]user@host# set gateways ggsn-pgw MBG1 local-policy-profile local_system_wide
    2. At the APN level, apply the local policy for 3G subscriber traffic.
      [edit]user@host# set gateways ggsn-pgw MBG1 apn-services apns qosv1.com local-policy-profile local_v1
    3. At the APN level, apply the local policy for 4G subscriber traffic.
      [edit]user@host# set gateways ggsn-pgw MBG1 apn-services apns qosv2.com local-policy-profile local_v2

    Configuring DSCP Ingress Rewrite Rules for IPv4 Packets

    CLI Quick Configuration

    To quickly configure this example, copy the following commands and paste them into the router terminal window:

    [edit][edit class-of-service rewrite-rules dscp dscpv4_ingress_rw][set class-of-service rewrite-rules dscp dscpv4_ingress_rw forwarding class af1 loss-priority high code-point 001110][set class-of-service rewrite-rules dscp dscpv4_ingress_rw forwarding class af1 loss-priority low code-point 001010][set class-of-service rewrite-rules dscp dscpv4_ingress_rw forwarding class af2 loss-priority high code-point 010110][set class-of-service rewrite-rules dscp dscpv4_ingress_rw forwarding class af2 loss-priority low code-point 010010][set class-of-service rewrite-rules dscp dscpv4_ingress_rw forwarding class af3 loss-priority high code-point 011110][set class-of-service rewrite-rules dscp dscpv4_ingress_rw forwarding class af3 loss-priority low code-point 011010][set class-of-service rewrite-rules dscp dscpv4_ingress_rw forwarding class af4 loss-priority high code-point 100110][set class-of-service rewrite-rules dscp dscpv4_ingress_rw forwarding class af4 loss-priority low code-point 100010]

    Step-by-Step Procedure

    To configure the ingress rewrite rules for IPv4 packets:

    1. Specify a name for the ingress rewrite rules.
      [edit]user@host# edit class-of-service rewrite-rules dscp dscpv4_ingress_rw
    2. Configure the ingress rewrite rules mappings for traffic on the mobile interface.
      [edit]user@host# set class-of-service rewrite-rules dscp dscpv4_ingress_rw forwarding class af1 loss-priority high code-point 001110 user@host# set class-of-service rewrite-rules dscp dscpv4_ingress_rw forwarding class af1 loss-priority low code-point 001010 user@host# set class-of-service rewrite-rules dscp dscpv4_ingress_rw forwarding class af2 loss-priority high code-point 010110 user@host# set class-of-service rewrite-rules dscp dscpv4_ingress_rw forwarding class af2 loss-priority low code-point 010010 user@host# set class-of-service rewrite-rules dscp dscpv4_ingress_rw forwarding class af3 loss-priority high code-point 011110 user@host# [set class-of-service rewrite-rules dscp dscpv4_ingress_rw forwarding class af3 loss-priority low code-point 011010 user@host# [set class-of-service rewrite-rules dscp dscpv4_ingress_rw forwarding class af4 loss-priority high code-point 100110 user@host# [set class-of-service rewrite-rules dscp dscpv4_ingress_rw forwarding class af4 loss-priority low code-point 100010

    Configuring DSCP Ingress Rewrite Rules for IPv6 Packets

    CLI Quick Configuration

    To quickly configure this example, copy the following commands and paste them into the router terminal window:

    [edit][edit class-of-service rewrite-rules dscp dscpv6_ingress_rw][set class-of-service rewrite-rules dscp dscpv6_ingress_rw forwarding class af1 loss-priority high code-point 001110][set class-of-service rewrite-rules dscp dscpv6_ingress_rw forwarding class af1 loss-priority low code-point 001010][set class-of-service rewrite-rules dscp dscpv6_ingress_rw forwarding class af2 loss-priority high code-point 010110][set class-of-service rewrite-rules dscp dscpv6_ingress_rw forwarding class af2 loss-priority low code-point 010010][set class-of-service rewrite-rules dscp dscpv6_ingress_rw forwarding class af3 loss-priority high code-point 011110][set class-of-service rewrite-rules dscp dscpv6_ingress_rw forwarding class af3 loss-priority low code-point 011010][set class-of-service rewrite-rules dscp dscpv6_ingress_rw forwarding class af4 loss-priority high code-point 100110][set class-of-service rewrite-rules dscp dscpv6_ingress_rw forwarding class af4 loss-priority low code-point 100010]

    Step-by-Step Procedure

    To configure the ingress rewrite rules for IPv6 packets:

    1. Specify a name for the ingress rewrite rules.
      [edit]user@host# edit class-of-service rewrite-rules dscp-ipv6 dscpv6_ingress_rw
    2. Configure the ingress rewrite rules mappings for traffic on the mobile interface.
      [edit]user@host# set class-of-service rewrite-rules dscp dscpv6_ingress_rw forwarding class af1 loss-priority high code-point 001110 user@host# set class-of-service rewrite-rules dscp dscpv6_ingress_rw forwarding class af1 loss-priority low code-point 001010 user@host# set class-of-service rewrite-rules dscp dscpv6_ingress_rw forwarding class af2 loss-priority high code-point 010110 user@host# set class-of-service rewrite-rules dscp dscpv6_ingress_rw forwarding class af2 loss-priority low code-point 010010 user@host# set class-of-service rewrite-rules dscp dscpv6_ingress_rw forwarding class af3 loss-priority high code-point 011110 user@host# [set class-of-service rewrite-rules dscp dscpv6_ingress_rw forwarding class af3 loss-priority low code-point 011010 user@host# [set class-of-service rewrite-rules dscp dscpv6_ingress_rw forwarding class af4 loss-priority high code-point 100110 user@host# [set class-of-service rewrite-rules dscp dscpv6_ingress_rw forwarding class af4 loss-priority low code-point 100010

    Configuring DSCP Egress Rewrite Rules for IPv4 Packets

    CLI Quick Configuration

    To quickly configure this example, copy the following commands and paste them into the router terminal window:

    [edit][edit class-of-service rewrite-rules dscp dscpv4_egress_rw][set class-of-service rewrite-rules dscp dscpv4_egress_rw forwarding class af1 loss-priority high code-point 001110][set class-of-service rewrite-rules dscp dscpv4_egress_rw forwarding class af1 loss-priority low code-point 001010]][set class-of-service rewrite-rules dscp dscpv4_egress_rw forwarding class af2 loss-priority high code-point 010110][set class-of-service rewrite-rules dscp dscpv4_egress_rw forwarding class af2 loss-priority low code-point 010010][set class-of-service rewrite-rules dscp dscpv4_egress_rw forwarding class af3 loss-priority high code-point 011110][set class-of-service rewrite-rules dscp dscpv4_egress_rw forwarding class af3 loss-priority low code-point 011010][set class-of-service rewrite-rules dscp dscpv4_egress_rw forwarding class af4 loss-priority high code-point 100110][set class-of-service rewrite-rules dscp dscpv4_egress_rw forwarding class af4 loss-priority low code-point 100010][set class-of-service rewrite-rules dscp dscpv4_egress_rw forwarding class be loss-priority low code-point 000000]

    Step-by-Step Procedure

    To configure the egress rewrite rules for IPv4 packets:

    1. Specify a name for the egress rewrite rules.
      [edit ]user@host# edit class-of-service rewrite-rules dscp dscp_v4_egress_rw
    2. Configure the egress rewrite rules mappings for traffic on the mobile interface.
      [edit]user@host# set class-of-service rewrite-rules dscp dscp_v4_egress_rw forwarding class af1 loss-priority high code-point 001110 user@host# set class-of-service rewrite-rules dscp dscp_v4_egress_rw forwarding class af1 loss-priority low code-point 001010 user@host# set class-of-service rewrite-rules dscp dscp_v4_egress_rw forwarding class af2 loss-priority high code-point 010110 user@host# set class-of-service rewrite-rules dscp dscp_v4_egress_rw forwarding class af2 loss-priority low code-point 010010 user@host# set class-of-service rewrite-rules dscp dscp_v4_egress_rw forwarding class af3 loss-priority high code-point 011110 user@host# set class-of-service rewrite-rules dscp dscp_v4_egress_rw forwarding class af3 loss-priority low code-point 011010 user@host# set class-of-service rewrite-rules dscp dscp_v4_egress_rw forwarding class af4 loss-priority high code-point 100110 user@host# set class-of-service rewrite-rules dscp dscp_v4_egress_rw forwarding class af4 loss-priority low code-point 100010 user@host# set class-of-service rewrite-rules dscp dscp_v4_egress_rw forwarding class be loss-priority low code-point 000000

    Configuring DSCP Egress Rewrite Rules for IPv6 Packets

    CLI Quick Configuration

    To quickly configure this example, copy the following commands and paste them into the router terminal window:

    [edit][edit class-of-service rewrite-rules dscp-ipv6 dscpv6_egress_rw][set class-of-service rewrite-rules dscp-ipv6 dscpv6_egress_rw forwarding class af1 loss-priority high code-point 001110][set class-of-service rewrite-rules dscp-ipv6 dscpv6_egress_rw forwarding class af1 loss-priority low code-point 001010][set class-of-service rewrite-rules dscp-ipv6 dscpv6_egress_rw forwarding class af2 loss-priority high code-point 010110][set class-of-service rewrite-rules dscp-ipv6 dscpv6_egress_rw forwarding class af2 loss-priority low code-point 010010][set class-of-service rewrite-rules dscp-ipv6 dscpv6_egress_rw forwarding class af3 loss-priority high code-point 011110][set class-of-service rewrite-rules dscp-ipv6 dscpv6_egress_rw forwarding class af3 loss-priority low code-point 011010][set class-of-service rewrite-rules dscp-ipv6 dscpv6_egress_rw forwarding class af4 loss-priority high code-point 100110][set class-of-service rewrite-rules dscp-ipv6 dscpv6_egress_rw forwarding class af4 loss-priority low code-point 100010][set class-of-service rewrite-rules dscp-ipv6 dscpv6_egress_rw forwarding class be loss-priority low code-point 000000]

    Step-by-Step Procedure

    To configure the ingress rewrite rules for IPv6 packets:

    1. Specify a name for the egress rewrite rules.
      [edit]user@host# edit class-of-service rewrite-rules dscp-ipv6 dscpv6_egress_rw
    2. Configure the egress rewrite rules mappings for traffic on the mobile interface.
      [edit]user@host# set class-of-service rewrite-rules dscp-ipv6 dscpv6_egress_rw forwarding class af1 loss-priority high code-point 001110 user@host# set class-of-service rewrite-rules dscp-ipv6 dscpv6_egress_rw forwarding class af1 loss-priority low code-point 001010 user@host# [set class-of-service rewrite-rules dscp-ipv6 dscpv6_egress_rw forwarding class af2 loss-priority high code-point 010110 user@host# set class-of-service rewrite-rules dscp-ipv6 dscpv6_egress_rw forwarding class af2 loss-priority low code-point 010010 user@host# set class-of-service rewrite-rules dscp-ipv6 dscpv6_egress_rw forwarding class af3 loss-priority high code-point 011110 user@host# set class-of-service rewrite-rules dscp-ipv6 dscpv6_egress_rw forwarding class af3 loss-priority low code-point 011010 user@host# set class-of-service rewrite-rules dscp-ipv6 dscpv6_egress_rw forwarding class af4 loss-priority high code-point 100110 user@host# set class-of-service rewrite-rules dscp-ipv6 dscpv6_egress_rw forwarding class af4 loss-priority low code-point 100010 user@host# set class-of-service rewrite-rules dscp-ipv6 dscpv6_egress_rw forwarding class be loss-priority low code-point 000000

    Applying Ingress Rewrite Rules to Mobile Interfaces for 3G and 4G Subscriber Traffic

    CLI Quick Configuration

    To quickly configure this example, copy the following commands and paste them into the router terminal window:

    [edit][set class-of-service interfaces mif unit 0 ingress-rewrite-rules dscp dscpv4_ingress_rw][set class-of-service interfaces mif unit 0 ingress-rewrite-rules dscp-ipv6 dscpv6_ingress_rw][set class-of-service interfaces mif unit 1 ingress-rewrite-rules dscp dscpv4_ingress_rw][set class-of-service interfaces mif unit 1 ingress-rewrite-rules dscp-ipv6 dscpv6_ingress_rw]

    Step-by-Step Procedure

    Specify the ingress rewrite rules to apply to rewrite DSCPv4 and DSCPv6 values for incoming subscriber packets on the mif.0 and mif.1 mobile interfaces, which correspond to the qosv1.com and qosv2.com APNs for 3G subscriber traffic and 4G subscriber traffic, respectively.

    1. To apply ingress rewrite rules to change DSCPv4 and DSCPv6 values in the outer IP header of 3G subscriber packets arriving on the qosv1.com APN (mif.0), specify the names of the rewrite rules that you want to apply to the mobile interface.
      [edit]user@host# set class-of-service interfaces mif unit 0 ingress-rewrite-rules dscp dscpv4_ingress_rwuser@host# set class-of-service interfaces mif unit 0 ingress-rewrite-rules dscp-ipv6 dscpv6_ingress_rw
    2. To apply ingress rewrite rules to change DSCPv4 and DSCPv6 values in the outer IP header of 4G subscriber packets arriving on the qosv2.com APN (mif.1), specify the names of the rewrite rules that you want to apply to the mobile interface.
      [edit]user@host# set class-of-service interfaces mif unit 1 ingress-rewrite-rules dscp dscpv4_ingress_rwuser@host# set class-of-service interfaces mif unit 1 ingress-rewrite-rules dscp-ipv6 dscpv6_ingress_rw

    Applying Egress Rewrite Rules to Mobile Interfaces for 3G and 4G Subscriber Traffic

    CLI Quick Configuration

    To quickly configure this example, copy the following commands and paste them into the router terminal window:

    [edit][set class-of-service interfaces mif unit 0 rewrite-rules dscp dscpv4_egress_rw protocol gtp-inet-both][set class-of-service interfaces mif unit 0 rewrite-rules dscp dscpv6_egress_rw protocol gtp-inet-both][set class-of-service interfaces mif unit 1 rewrite-rules dscp dscpv4_egress_rw protocol gtp-inet-both][set class-of-service interfaces mif unit 1rewrite-rules dscp dscpv6_egress_rw protocol gtp-inet-both]

    Step-by-Step Procedure

    To apply an egress rewrite rule to rewrite DSCPv4 and DSCPv6 values to both the inner and outer IP headers of downstream subscriber packets, specify the name of the rewrite rules you want to apply to the mobile interfaces and include the gtp-inet-both option.

    1. To apply egress rewrite rules to change DSCPv4 and DSCPv6 values in the outer IP header of 3G subscriber packets arriving on the qosv1.com APN (mif.0), specify the names of the rewrite rules that you want to apply to the mobile interface.
      [edit]user@host# set class-of-service interfaces mif unit 0 rewrite-rules dscp dscpv4_egress_rw protocol gtp-inet-bothuser@host# set class-of-service interfaces mif unit 0 rewrite-rules dscp dscpv6_egress_rw protocol gtp-inet-both
      [edit]user@host# set class-of-service interfaces mif unit 1 rewrite-rules dscp dscpv4_egress_rw protocol gtp-inet-bothuser@host# set class-of-service interfaces mif unit 1 rewrite-rules dscp dscpv6_egress_rw protocol gtp-inet-both
    2. To apply ingress rewrite rules to change DSCPv4 and DSCPv6 values in the outer IP header of 4G subscriber packets arriving on the qosv2.com APN (mif.1), specify the names of the rewrite rules that you want to apply to the mobile interface.
      [edit]user@host# set class-of-service interfaces mif unit 1 rewrite-rules dscp dscpv4_egress_rw protocol gtp-inet-bothuser@host# set class-of-service interfaces mif unit 1 rewrite-rules dscp dscpv6_egress_rw protocol gtp-inet-both

    Configuring the Maximum Number of Bearers

    Step-by-Step Procedure

    You configure the maximum bearers to specify an upper limit on the number of bearers allowed at the system level and, optionally, the APN level. When the total number of active bearers at the system level or APN level reaches the maximum configured limit, the broadband gateway rejects new bearer requests.

    To configure the maximum number of active bearers:

    1. Configure the number of maximum bearers allowed at the system level.
      [edit]user@host# set unified-edge gateways ggsn-pgw MBG1 maximum-bearers 5000000

    Enabling Preemption

    Step-by-Step Procedure

    You can enable preemption at the system level to enable the preemption capability indicator (PCI) and preemption vulnerability indicator (PVI) flags. Preemption is disabled by default.

    To enable preemption or both 3G (GTPv1) and 4G (GTPv2) subscriber traffic:

    1. Configure preemption at the system level.
      [edit]user@host# set unified-edge gateways ggsn-pgw MBG1 preemption enable

    Verification

    To display QoS statistics for 3G and 4G subscriber packets to verify that the QoS configuration on the broadband gateway is working properly, you can perform the following tasks:

    Display QoS Statistics for 4G Subscriber Packets with a Specified Allocation Retention Priority:

    Purpose

    Verify that the QoS configuration is working properly by displaying statistics such as session establishment attempts, peer initiated sessions, and gateway initiated session deactivations.

    Action

    user@host> show unified-edge ggsn-pgw qos statistics arp 10
    Control plane statistics:
        Gn/S5 signaling msgs rcvd:                  0
        Gn/S5 signaling msgs sent:                  50001
        Gn/S5 signaling msgs dropped:               0
        Gn/S5 signaling bytes rcvd:                 0
        Gn/S5 signaling bytes sent:                 0
        Total GTP tunnels created:                  0
        Session establishment attempts:             50221
        Successful session establishments:          4476
        MS/peer initiated session deactivations:    0
        Successful MS/peer initiated deactivations: 0
        Gateway initiated session deactivations:    0
        Successful gateway initiated deactivations: 0
        Session Establishments Failed (by GTP cause):
            Others               0
            Service unavailable: 0
            System failure:      0
            No resources:        47762
            No address:          0
            Service denied:      0
            Authentication Fail: 0
            APN access denied:   0
    Data plane GTP statistics (Gn/S5/S8):
        Input     packets:          0
        Input     bytes:            0
        Output    packets:          0
        Output    bytes:            0
        Discarded packets:          0    
    Data plane GTP statistics (Gi):
        Input     packets:          0
        Input     bytes:            0
        Output    packets:          0
        Output    bytes:            0
        Discarded packets:          0       

    Meaning

    This output shows the attempted session requests and the requests that were successfully established for 4G subscriber traffic with the specified ARP value.

    Display 4G Subscriber Information for Traffic Marked with a Specified QoS Class Identifier

    Purpose

    Verify that the QoS configuration is working properly for 4G subscribers by showing statistics for subscriber packets with a specified QoS class identifier.

    Action

    user@host> show unified-edge ggsn-pgw qos statistics qci 5
     regress@brainstorm> show unified-edge ggsn-pgw qos statistics qci 5 
    Control plane statistics:
        Gn/S5 signaling msgs rcvd:                  0
        Gn/S5 signaling msgs sent:                  10
        Gn/S5 signaling msgs dropped:               0
        Gn/S5 signaling bytes rcvd:                 0
        Gn/S5 signaling bytes sent:                 0
        Total GTP tunnels created:                  0
        Session establishment attempts:             10
        Successful session establishments:          10
        MS/peer initiated session deactivations:    0
        Successful MS/peer initiated deactivations: 0
        Gateway initiated session deactivations:    0
        Successful gateway initiated deactivations: 0
        Session Establishments Failed (by GTP cause):
            Others               0
            Service unavailable: 0
            System failure:      0
            No resources:        0
            No address:          0
            Service denied:      0
            Authentication Fail: 0
            APN access denied:   0
                     

    Meaning

    This output shows the Create Session requests that were successfully established for 4G mobile subscriber packets with the specified QCI value.

    Display 3G Subscriber Information for Traffic Marked with the Specified Traffic Class

    Purpose

    Verify that the QoS configuration is working properly for 3G subscribers by showing statistics for subscriber packets of the specified traffic class.

    Action

    user@host> show unified-edge ggsn-pgw qos statistics traffic-class conversational
     Control plane statistics:
        Gn/S5 signaling msgs rcvd:                  0
        Gn/S5 signaling msgs sent:                  15
        Gn/S5 signaling msgs dropped:               0
        Gn/S5 signaling bytes rcvd:                 0
        Gn/S5 signaling bytes sent:                 0
        Total GTP tunnels created:                  0
        Session establishment attempts:             15
        Successful session establishments:          15
        MS/peer initiated session deactivations:    0
        Successful MS/peer initiated deactivations: 0
        Gateway initiated session deactivations:    0
        Successful gateway initiated deactivations: 0
        Session Establishments Failed (by GTP cause):
            Others               0
            Service unavailable: 0
            System failure:      0
            No resources:        0
            No address:          0
            Service denied:      0
            Authentication Fail: 0
            APN access denied:   0
    Data plane GTP statistics (Gn/S5/S8):
        Input     packets:          0
        Input     bytes:            0
        Output    packets:          0
        Output    bytes:            0
        Discarded packets:          0    
    Data plane GTP statistics (Gi):
        Input     packets:          0
        Input     bytes:            0
        Output    packets:          0
        Output    bytes:            0
        Discarded packets:          0                                          

    Meaning

    This output shows the Create Session requests that were successfully established for 3G subscriber traffic of the conversational class.

    Display the Requested and Negotiated QoS Parameters for Mobile Subscribers

    Purpose

    Verify the negotiated QoS parameters for a mobile subscriber.

    Action

    user@host> show unified-edge ggsn-pgw subscribers extensive
    Subscriber Information:
        IMSI: 332215553443196    IMEI: 1122334455667795
        MSISDN: 3326555562       Time Zone: None    (DST): None 
        Status: Visitor       
    User Location Info:
          MCC:  None  MNC:  None 
          LAC: 0x0  CI: 0x0     SAC: 0x0  RAC: 0x0  TAC: 0x0  ECI: 0x0 
        RAT Type: E-UTRAN    
      PDN Session:
        APN name: juniper.com                                                    
        IPv4 Address: 20.0.4.8          IPv6 Address: None                       
        Direct Tunnel: Disabled         Session Duration: 3d 20:38:38          
        Local Control address: 10.1.1.1 Remote Control address: 30.1.1.2
        TEID Control Local: 0x9001800   TEID Control Remote: 0x10d      
        Peer CSID: 0                    Remote CSID: 0          
        Addressing scheme: Local        Selection mode: from-ms            
        Session PIC: 0 /0  (FPC/PIC)    Anchor PFE: 2 /0  (FPC/PIC)
        Session State: Established      GTP Version: 2          
        Serving network: MCC: 231  MNC :215 
        Negotiated APN AMBR: Downlink: 1000 kbps    Uplink: 1000 kbps
        Requested APN AMBR: Downlink: 1000 kbps     Uplink: 1000 kbps
      Bearer:
        NSAPI/EBI: 5                     Charging ID: 0x9001800    
        Local Data address: 10.1.1.1     Remote Data address: 30.1.1.2      
        Local TEID: 0x111000             Remote TEID: 0x10e             
        Bearer State: Established        Substate: -                 
        Idle Timeout: 0   min(0 -0,0)   AAA Interim Interval: 0   min(0 -0,0)
        Negotiated QoS Parameters:
         QCI: 5    ARP: 11/0 /0   (PL/PVI/PCI)
         Forwarding Class:  -              Loss Priority:  -            
        Requested QoS Parameters:
         QCI :5   ARP : 11/0 /0   (PL/PVI/PCI)
        Charging information: 
         Profile ID: 0       
         State: Init         Previous State: Init  
    

    Meaning

    This output shows the negotiated and requested QoS parameters for mobile subscribers.

    Published: 2011-11-17