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
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Configuring CoS Rule Sets on Services PICs

date_range 15-Mar-23

You can define a collection of CoS rules that determine what actions the router software performs on packets in the data stream. Junos OS processes the rules in the order in which you specify them in the configuration. If a term in a rule matches the packet, the router performs the corresponding action and the rule processing stops. If no term in a rule matches the packet, processing continues to the next rule in the rule set. If none of the rules match the packet, the packet is dropped by default.The rule-set statement defines a collection of CoS rules that determine what actions the router software performs on packets in the data stream. You define each rule by specifying a rule name and configuring terms. You then specify the order of the rules by including the rule-set statement at the [edit services cos] hierarchy level:

This topic explains how to configure a set of CoS rules.

Before starting this procedure, make sure you define the terms and actions for the CoS rules in this rule set under the [edit services cos rule rule-name] hierarchy level.

To configure a CoS rule set:

  1. Specify a name for the CoS rule set.
    content_copy zoom_out_map
    [edit]
    user@host# edit services cos rule-set rule-set-name
    
  2. Specify the name of each rule you want included in the rule set.
    Note:

    Junos OS processes the rules in the order in which you specify them in the configuration.

    content_copy zoom_out_map
    [edit services cos rule-set rule-set-name]
    user@host# set rule rule-name1
    user@host# set rule rule-name2
    
footer-navigation