Configuration steps

There are QoS configurations common to both SLA modes. The configuration difference is rooted in subscriber management-specific commands where the SLA mode and the aggregate rate of the primary shaper are configured.

The following are the common configuration QoS blocks for both SLA modes:

A hs-scheduler-policy defines parameters at the port level:

In this example, the msap-policy defines the default inter-dest-id to be the top qtag on the subscriber SAP. All subscriber hosts on a SAP with top qtag ‛1’ are mapped to this secondary shaper.

*A:BNG>config>
   subscr-mgmt
      msap-policy ‟msaps” create
        sub-sla-mgmt
           def-inter-dest-id use-top-q
        exit

The following commands are specific to ESM:

SLA mode as configured in the subscriber profile:


*A:BNG>config>subscr-mgmt
   sub-profile ‟hs-sub” create
       hs-sla-mode {expanded | single}

Single SLA mode:

In single SLA mode, only the sub-profile hs-aggregate-rate-limit should be configured:

*A:BNG>config>subscr-mgmt
   sub-profile ‟hs-sub-single” create
       hs-sla-mode single
       egress
         hs-agg-rate-limit 20000    
       exit
*A:BNG>config>subscr-mgmt
   sla-profile ‟hs-single” create 
       ingress
          qos 5
          exit
       exit
       egress
          qos 5
          exit
       exit

When both, subscriber profile egress hs-agg-rate-limit and SLA profile hs-agg-rate-limit are configured, the system uses the minimum value to program the hs-agg-rate of the SPI shaper.

Expanded SLA mode:

In expanded mode, the hs-agg-rate-limit in the SLA profile determines the aggregate shaping rate of each SPI associated with the subscriber:


*A:BNG>config>subscr-mgmt>
   sla-profile ‟hs-expanded” create 
       ingress
           qos 5
           exit
       exit
       egress
           qos 5
           exit
           hs-agg-rate-limit 1000
       exit

The aggregate rate of the subscriber (primary shaper) is configured in the subscriber profile:


*A:BNG>config>subscr-mgmt>
   sub-profile ‟hs-sub-expanded” create
       hs-sla-mode expanded
       egress
          hs-agg-rate-limit 20000
       exit

HSQ overrides:


*A:DUAL_HOME_2>config>subscr-mgmt>sla-prof# info
----------------------------------------------
            egress
                qos 2
                    queue 1                     
                        rate 100
                        mbs 1000 kilobytes
                        hs-class-weight 8
                        hs-wred-queue-policy "_tmnx_hs_default"
                        hs-wrr-weight 20
                    exit
                    queue 2                    
                        rate 100
                        mbs 1000 kilobytes                    
                        hs-class-weight 8
                        hs-wred-queue-policy "_tmnx_hs_default"
                        hs-wrr-weight 20
                    exit
                    queue 3                      
                        rate 100
                        mbs 1000 kilobytes                      
                        hs-class-weight 8
                        hs-wred-queue-policy "_tmnx_hs_default"
                        hs-wrr-weight 20
                    exit
                    queue 4                     
                        rate 100
                        mbs 1000 kilobytes                     
                        hs-class-weight 8
                        hs-wred-queue-policy "_tmnx_hs_default"
                        hs-wrr-weight 20
                    exit
                    queue 5                     
                        rate 100
                        mbs 1000 kilobytes                     
                        hs-class-weight 8
                        hs-wred-queue-policy "_tmnx_hs_default"
                        hs-wrr-weight 20
                    exit
                    queue 6                     
                        rate 100
                        mbs 1000 kilobytes                       
                        hs-class-weight 8
                        hs-wred-queue-policy "_tmnx_hs_default"
                        hs-wrr-weight 20
                    exit
                    queue 7                      
                        rate 100
                        mbs 1000 kilobytes                      
                        hs-class-weight 8
                        hs-wred-queue-policy "_tmnx_hs_default"
                        hs-wrr-weight 20
                    exit
                    queue 8                      
                        rate 100
                        mbs 1000 kilobytes                    
                        hs-class-weight 8
                        hs-wred-queue-policy "_tmnx_hs_default"
                        hs-wrr-weight 20
                    exit
                    hs-wrr-group 1
                        hs-class-weight 2
                        rate 100
                    exit
                    hs-wrr-group 2
                        hs-class-weight 4
                        rate 100
                    exit
                exit
    exit
----------------------------------------------