Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Configuring Four-Level Hierarchical Scheduling on vMX

date_range 19-Nov-20

Starting with Junos OS Release 17.3R1, four-level hierarchical scheduling for up to 16 level 2 CoS scheduler nodes is supported on vMX routers. The level 2 node maps to the interface set or VLAN (logical interface). Two of the level 2 nodes are used for control traffic. If you configure less than four nodes, no commit errors are displayed but there are not enough nodes for other applications to use. Different interfaces can have a different number of level 2 nodes. The interface can be an inline service interface.

To configure four-level hierarchical scheduling:

  1. Hierarchical CoS is disabled by default. Configure flexible queuing to enable CoS.
    content_copy zoom_out_map
    [edit]
    user@vmx# set chassis fpc 0 flexible-queuing-mode
    
    Note:

    The FPC reboots if you enable flexible queuing.

  2. Enable hierarchical scheduling.
    content_copy zoom_out_map
    [edit]
    user@vmx# set interfaces interface-name implicit-hierarchy
    
  3. Set the maximum number of hierarchical scheduling levels for node scaling to 3. If the maximum-hierarchy-levels option is not configured, it is automatically set to 2.
    content_copy zoom_out_map
    [edit]
    user@vmx# set interfaces interface-name hierarchical-scheduler maximum-hierarchy-levels 3
    
  4. Specify the maximum number of level 2 scheduler nodes; only 1, 2, 4, 8, and 16 are valid values. The default value is 4. We recommend that you do not configure less than four nodes because two of the nodes are used for control traffic.
    content_copy zoom_out_map
    [edit]
    user@vmx# set interfaces interface-name hierarchical-scheduler maximum-l2-nodes number-of-nodes
    

    For example:

    content_copy zoom_out_map
    [edit]
    user@vmx# set interfaces ge-0/0/0 hierarchical-scheduler maximum-l2-nodes 4
    
    Note:

    This configuration must be present before you reboot the FPC.

footer-navigation