Sample SAP QoS configuration

Overview

You can use NFM-P to configure and enforce traffic rate limiting, based on the priority of the traffic entering the ingress SAP of a service. This configuration limits bandwidth, to ensure that SLAs are met and higher priority traffic is processed first.

The figure below shows traffic of different priorities from a customer site to an ingress SAP.

Figure 70-20: Example showing ingress traffic to a service SAP
Example showing ingress traffic to a service SAP

Based on the example, use the NFM-P client GUI to perform the following actions:

Create an access ingress policy named Premium service access ingress policy.

Apply the schedulers and access ingress policy to the appropriate L2 or L3 interface for the customer service, for example, a VPLS L2 interface.

Figure 70-21: Traffic handling based on ingress access policy and scheduler queue
Traffic handling based on ingress access policy and scheduler queue
Sample configuration steps for SAP QoS

Note: In this sample:

Preconfiguration
 

Before you begin, you must have:

  • the service ingress SAP configured as access

  • all necessary cabling and network routing protocol configurations complete to handle routing packets to and from the CPE equipment


Configuration
 

Choose Policies→QoS→SROS QoS→Scheduler→Scheduler from the NFM-P main menu. The manage scheduler policies form opens.


Click Create. The scheduler policy create form opens.


Configure the parameters. Set the displayed name to High QoS.


Click on the Schedulers tab.


Click Create. The scheduler entry form opens.


Create a root, tier 1 scheduler entry.

  1. Configure the parameters.

    • Displayed name to root

    • tier to 1

    • Summed CIR to false

    • PIR (kbps) to 1000

    • CIR (kbps) to 1000

  2. Click OK. The root scheduler appears in the list of scheduler entries.


Create a child, tier 2 scheduler entry.

  1. Click Create.

  2. Configure the parameters.
    • Displayed name to child

    • tier to 2

    • Summed CIR to false

    • PIR (kbps) to 1000

    • CIR (kbps) to 200

    • Parent scheduler to root, using the Select button to choose root from the list.

    • Level (PIR level) to 4

    • Weight (PIR weight) to 50

    • CIR Level to 4

    • CIR Weight to 50

  3. Click OK. The child scheduler appears in the list of scheduler entries.


Click Apply.


10 

Close the Scheduler form.


11 

Choose Policies→QoS→SROS QoS→Access Ingress→SAP Access Ingress from the NFM-P main menu. The SAP Access Ingress Policies form opens.


12 

Click Create. The SAP Access Ingress Policy, Global Policy [Create] form opens.


13 

Configure the parameters. Set the displayed name to Premium service access ingress policy.


14 

Click on the Queues tab. Create four queues. For this sample, default queue 1 is modified, and three new queues are added. The default multicast queue 11 is unchanged.


15 

Select queue 1 from the list.

  1. Click on the Properties button. The queue 1 edit form opens.

  2. Configure the parameters.
    • Displayed Name to Internet

    • Scheduler to child by using the Select button and choosing child from the list

    • Level (PIR level) to 4

    • CIR Level to 4

    • Weight (PIR weight) to 33

    • CIR Weight to 0

  3. Click on the CIR/PIR tab.

  4. Configure the parameters.
    • Rate Type to kbps

    • Policed to false

    • deselect both MAX buttons

    • Cir (kbps) to 0

    • Pir (kbps) to 1000

  5. Click OK.


16 

Add queue 2.

  1. Click Create. The queue create form opens.

  2. Configure the parameters.
    • ID to 2

    • Displayed Name to High-priority traffic

    • Scheduler to child by using the Select button and choosing child from the list

    • Level (PIR level) to 4

    • CIR Level to 4

    • Weight (PIR weight) to 33

    • CIR Weight to 50

  3. Click on the CIR/PIR tab.

  4. Configure the parameters.
    • Rate Type to kbps

    • Policed to false

    • deselect both MAX buttons

    • Cir (kbps) to 100

    • Pir (kbps) to 1000

  5. Click OK. The queue is added to the list.


17 

Add queue 3.

  1. Click Create. The queue create form opens.

  2. Configure the parameters.
    • ID to 3

    • Displayed Name to Voice

    • Scheduler to child by using the Select button and choosing child from the list

    • Level (PIR level) to 4

    • CIR Level to 4

    • Weight (PIR weight) to 33

    • CIR Weight to 50

  3. Click on the CIR/PIR tab.

  4. Configure the parameters.
    • Rate Type to kbps

    • Policed to false

    • deselect both MAX buttons

    • Cir (kbps) to 100

    • Pir (kbps) to 1000

  5. Click OK. The queue is added to the list.


18 

Add queue 4.

  1. Click Create. The queue create form opens.

  2. Configure the parameters.
    • ID to 4

    • Displayed Name to Video

    • Scheduler to root by using the Select button and choosing root from the list

    • Level (PIR level) to 6

    • CIR Level to 6

    • Weight (PIR weight) to 50

    • CIR Weight to 50

  3. Click on the CIR/PIR tab.

  4. Configure the parameters.
    • Rate Type to kbps

    • Policed to false

    • deselect both MAX buttons

    • Cir (kbps) to 100

    • Pir (kbps) to 1000

  5. Click OK. The queue is added to the list.


19 

Click Apply to save the changes. Confirm the action.


20 

Associate each queue with a forwarding class.

  1. Click on the Forwarding Classes tab.

  2. Click Create. The forwarding class create form opens.

  3. Configure the parameters.
    • Forwarding class to be

    • Queue ID to 1. This is the best-effort Internet traffic queue.

  4. Click OK. Confirm the action.

  5. Click Create. The forwarding class create form opens.

  6. Configure the parameters.
    • Forwarding class to af

    • Queue ID to 2. This is the high-priority data traffic queue.

  7. Click OK. Confirm the action.

  8. Click Create. The forwarding class create form opens.

  9. Configure the parameters.
    • Forwarding class to l1

    • Queue ID to 3. This is the voice traffic queue.

  10. Click OK. Confirm the action.

  11. Click Create. The forwarding class create form opens.

  12. Configure the parameters.
    • Forwarding class to ef

    • Queue ID to 4. This is the highest priority, video traffic queue.

  13. Click OK. Confirm the action.


21 

Click Apply. Confirm the action.


22 

Associate the IP precedence bits of the incoming customer traffic with the forwarding class. The forwarding class is already associated with a queue. For this sample, IP precedence bits are used to associate different types of traffic with the forwarding class. You could classify traffic other ways, for example, based on filters for IP address or DSCP marking.

  1. Click on the Precedence tab.

  2. Click Create. The precedence create form opens.

  3. Configure the parameters to associate IP precedence 0 (Internet traffic from the customer site) with forwarding class be (the be forwarding class is associated with queue 1)
    • Precedence is 0

    • Forwarding Class is be

  4. Click OK. Confirm the action. The association between precedence 0 and the be forwarding class is added to the list.

  5. Click Create. The precedence create form opens.

  6. Configure the parameters to associate IP precedence 1 (high-priority data traffic from the customer site) with forwarding class af (the af forwarding class is associated with queue 2)
    • Precedence is 1

    • Forwarding Class is af

  7. Click OK. Confirm the action. The association between precedence 1 and the af forwarding class is added to the list.

  8. Click Create. The precedence create form opens.

  9. Configure the parameters to associate IP precedence 2 (voice traffic from the customer site) with forwarding class l1 (the l1 forwarding class is associated with queue 2):
    • Precedence is 2

    • Forwarding Class is l1

  10. Click OK. Confirm the action. The association between precedence 2 and the l1 forwarding class is added to the list.

  11. Click Create. The precedence create form opens.

  12. Configure the parameters to associate IP precedence 3 (video traffic from the customer site) with forwarding class ef (the ef forwarding class is associated with queue 3)
    • Precedence is 3

    • Forwarding Class is ef

  13. Click OK. Confirm the action. The association between precedence 3 and the ef forwarding class is added to the list.


23 

Click Apply. Confirm the action.


24 

Associate a service SAP with the created High QoS scheduler and the created Premium service access ingress policy. There are many ways to associate policies with L2 or L3 interfaces used as service SAPs, for example, from the service creation form or the port properties form. This sample modifies an existing L2 interface for an existing VPLS.

  1. Choose Manage→Service→Services from the NFM-P main menu. The manage services form opens.

  2. Set the filters and click on the Search button. A list of filtered services appears.

  3. Select the service and click on the Properties button. The service form opens.

  4. Click on the L2 Access Interfaces tab.

  5. Choose an interface and click on the Properties button. The L2 interface edit form opens.

  6. Click on the QoS tab.

  7. Configure the parameter. Use the Select button to set the Ingress Policy to Premium service access ingress policy. The policy ID and displayed name appear.

  8. Click on the Schedulers tab.

  9. Configure the parameter. Use the Select button to set the Ingress Scheduler to High QoS. The displayed name appears.

  10. Click Apply to save the changes. Confirm the action.