Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Broadband Subscriber Services User Guide
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Configuring Scheduler and Scheduler Map Sharing

date_range 06-Dec-23

The system generates unique identifiers (IDs) in dynamic profiles created for services. The generated unique IDs enable you to identify and configure separate parameter values with the same variable name. When applied to CoS, you can configure scheduler and scheduler map sharing. In client-access profiles, schedulers and scheduler maps must use the unique ID format. If the client-access profile uses the unique ID format and you want to have either scheduler or scheduler map sharing for service activation, you must configure the service profile in unique ID format. Generating unique IDs based on schedulers and scheduler maps eliminates duplication and improves router performance and scalability. You can configure scheduler and scheduler map sharing by including the variables for CoS in the client access or service dynamic profile. All scheduler maps and schedulers must be in the unique ID format.

Before you configure variables for the client access or service dynamic profile:

To configure variables for the client access or service dynamic profile:

  1. Configure the variables for the dynamic client access profile.
    content_copy zoom_out_map
    [edit dynamic-profiles client-profile variables]
    user@host# set smap_data uid
    user@host# set data_sched uid
    
  2. Configure the CoS parameters for the variables in the scheduler profile.
    content_copy zoom_out_map
    [edit dynamic-profiles client-profile class-of-service]
    user@host# edit schedulers “$data_sched”
    user@host# set transmit-rate percent 10
    user@host# set buffer-size remainder
    user@host# set priority low
    
  3. Configure the CoS parameters for the variables in the scheduler maps profile.
    content_copy zoom_out_map
    [edit dynamic-profiles client-profile class-of-service]
    user@host# edit scheduler-maps “$smap_data”
    user@host# edit  forwarding-class be scheduler “$data_sched”
    

For example, you can configure scheduler maps and schedulers for a client access profile:

content_copy zoom_out_map
dynamic-profiles {
    cos-para {
        variables {
            data_smap uid;
            data_video_smap uid;
            voice_smap uid;
            data_sched uid;
            video_sched uid;
            voice_sched uid;
        }
        …
        class-of-service {
            traffic-control-profiles {
                tcp1 {
                    scheduler-map "$junos-cos-scheduler-map";
                    shaping-rate "$junos-cos-shaping-rate";
                    guaranteed-rate 10m;
                    delay-buffer-rate "$junos-cos-delay-buffer-rate";
                }
            }
            interfaces {
                "$junos-interface-ifd-name" {
                    unit "$junos-underlying-interface-unit" {
                        output-traffic-control-profile tcp1;
                    }
                }
            }
            scheduler-maps {
                "$data_smap" {
                    forwarding-class be scheduler "$data_sched";
                }
                "$data_video_smap" {
                    forwarding-class be scheduler "$data_sched";
                    forwarding-class af scheduler "$video_sched";
                }
                “$voice_smap” {
                    forwarding-class ef scheduler “$voice_sched”;
                }
            }
            schedulers {
                "$data_sched" {
                    transmit-rate "$junos-cos-scheduler-tx";
                    inactive: buffer-size percent "$junos-cos-scheduler-bs";
                    priority "$junos-cos-scheduler-pri";
                }
                "$video_sched" {
                    transmit-rate "$junos-cos-scheduler-tx";
                    inactive: buffer-size percent "$junos-cos-scheduler-bs";
                    priority "$junos-cos-scheduler-pri";
                }
                “$voice_sched” {
                    transmit-rate percent 10;
                    buffer-size remainder;;
                    priority low;
                }
            }
        }
    }
}
footer-navigation