class-of-service (Dynamic Profiles)
Syntax
class-of-service { dynamic-class-of-service-options { vendor-specific-tags tag; } interfaces { interface-name { unit logical-unit-number { classifiers { type (classifier-name | default); } output-traffic-control-profile (profile-name | $junos-cos-traffic-control-profile); report-ingress-shaping-rate bps; rewrite-rules { dscp (rewrite-name | default); dscp-ipv6 (rewrite-name | default); ieee-802.1 (rewrite-name | default) vlan-tag (outer | outer-and-inner); inet-precedence (rewrite-name | default); } service-accounting; } } } scheduler-maps { map-name { forwarding-class class-name scheduler scheduler-name; } } schedulers { (scheduler-name) { buffer-size (seconds | percent percentage | remainder | temporal microseconds); drop-profile-map loss-priority (any | low | medium-low | medium-high | high) protocol (any | non-tcp | tcp) drop-profile profile-name; excess-priority (low | high | $junos-cos-scheduler-excess-priority); excess-rate (percent percentage | percent $junos-cos-scheduler-excess-rate); overhead-accounting (shaping-mode) <bytes (byte-value>; priority priority-level; shaping-rate (rate | predefined-variable); transmit-rate (percent percentage | rate | remainder) <exact | rate-limit>; } } traffic-control-profiles profile-name { adjust-minimum rate; delay-buffer-rate (percent percentage | rate); excess-rate (percent percentage | proportion value | percent $junos-cos-excess-rate); excess-rate-high (percent percentage | proportion value); excess-rate-low (percent percentage | proportion value); guaranteed-rate (percent percentage | rate) <burst-size bytes>; max-burst-size cells; overhead-accounting (frame-mode | cell-mode) <bytes byte-value>; peak-rate rate; scheduler-map map-name; shaping-rate (percent percentage | rate | predefined-variable) <burst-size bytes>; shaping-rate-excess-high (percent percentage | rate) <burst-size bytes>; shaping-rate-excess-medium-high (percent percentage | rate) <burst-size bytes>; shaping-rate-excess-medium-low (percent percentage | rate) <burst-size bytes>; shaping-rate-excess-low (percent percentage | rate) <burst-size bytes>; shaping-rate-priority-high (percent percentage | rate) <burst-size bytes>; shaping-rate-priority-low (percent percentage | rate) <burst-size bytes>; shaping-rate-priority-medium (percent percentage | rate) <burst-size bytes>; shaping-rate-priority-medium-low (percent percentage | rate) <burst-size bytes>; shaping-rate-priority-strict-high (percent percentage | rate) <burst-size bytes>; sustained-rate rate; } }
Hierarchy Level
[edit dynamic-profiles profile-name]
Description
Configure Junos OS CoS features in a dynamic client profile or a dynamic service profile.
Default
If you do not configure any CoS features, all packets are transmitted from output transmission queue 0.
Options
| service-accounting | (Junos OS Evolved) Enables Packet Forwarding Engine (PFE) to report queue counter statistics to Routing Engine (RE). It includes statistics of eight queue counters. |
The remaining statements are explained separately. Search for a statement in CLI Explorer or click a linked statement in the Syntax section for details.
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.2.
The service-accounting option introduced in Junos OS Evolved Release
25.4R1.