class-of-service
Syntax
class-of-service { classifiers { (dscp | dscp-ipv6 | ieee-802.1 | inet-precedence) classifier-name { import (classifier-name | default); forwarding-class class-name { loss-priority level { code-points [aliases] [6 bit-patterns]; } } } } code-point-aliases { (dscp | dscp-ipv6 | ieee-802.1 | inet-precedence) { alias-name bits; } } forwarding-classes { class class-name queue-num queue-number priority (high | low); } interfaces { interface-name { scheduler-map map-name; unit logical-unit-number { forwarding-class class-name; classifiers { (dscp | dscp-ipv6 | ieee-802.1 | inet-precedence) (classifier-name | default); } } } } multi-destination { family { ethernet { broadcast forwarding-class-name; } inet { classifiers { (dscp | dscp-ipv6 | inet-precedence) classifier-name; } } } scheduler-map map-name; } rewrite-rules { (dscp | dscp-ipv6 | ieee-802.1 | inet-precedence) rewrite-name { import (rewrite-name | default); forwarding-class class-name { loss-priority priority code-point (alias | bits); } } } scheduler-maps { map-name { forwarding-class class-name scheduler scheduler-name; } } schedulers { scheduler-name { buffer-size (percent percentage | remainder); drop-profile-map loss-priority loss-priority protocol protocol drop-profile profile-name; priority priority; shaping-rate (rate | percent percentage); transmit-rate (EX Series Switches) (rate | percent percentage | remainder); } } }
Hierarchy Level
[edit]
Description
Configure class-of-service (CoS) parameters on EX Series switches.
The remaining statements are explained separately. See CLI Explorer.
Default
If you do not configure any CoS features, the default CoS settings are used.
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 9.0.