Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


rule-set (Services CoS Next Gen Services)



Hierarchy Level

Release Information

Statement introduced in Junos OS Release 19.3R2 on MX Series routers (MX240, MX480 and MX960) running Next Gen Services with the MX-SPC3 services card.


Configure a set of services CoS rules. You can then assign the rule set to a service set, which processes the rules in the order they appear. Once a rule matches the packet, the router performs the corresponding action, and no further rules are applied.


rule rule-nameThe name of each rule in the rule set.
rule-set-nameThe name for the set of rules.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.