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

class-of-service (Dynamic Profiles)

date_range 10-Dec-23

Syntax

content_copy zoom_out_map
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);
                }
            }
        }
    }
    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

content_copy zoom_out_map
[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.

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.

footer-navigation