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

interfaces (Class of Service)

date_range 03-Jun-24

Syntax

content_copy zoom_out_map
interfaces interface-name {
    classifiers {
        (dscp | dscp-ipv6 | ieee-802.1 | exp) (classifier-name | default);
    }
    congestion-notification-profile profile-name;
    dedicated-buffer-profile profile-name;
    forwarding-class forwarding-class-name;
    forwarding-class-set forwarding-class-set-name {
        output-traffic-control-profile                       profile-name;
    }
    rewrite-value {
        input {
            ieee-802.1{
                code-point code-point-bits;
            }
        }
    }
    scheduler-map scheduler-map-name
    unit logical-unit-number {
        classifiers {
            (dscp | dscp-ipv6 | ieee-802.1 | exp) (classifier-name | default);
        }
        forwarding-class                                 class-name;
        rewrite-rules {
            (dscp | dscp-ipv6 | ieee-802.1 | exp) (classifier-name | default);
        }
    }
}

Hierarchy Level

content_copy zoom_out_map
[edit class-of-service]

Description

Configure interface-specific CoS properties for incoming packets.

Note:

Only switches that support direct port scheduling also support applying a scheduler map directly to an interface. When using enhanced transmission selection (ETS) hierarchical port scheduling, you cannot apply a scheduler map directly to an interface; instead, you associate the scheduler map with a traffic control profile and apply the traffic control profile to the interface.

Options

interface-name—Name of the interface.

The remaining statements are explained separately. See CLI Explorer.

Required Privilege Level

interfaces—To view this statement in the configuration.

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

Release Information

Statement introduced in Junos OS Release 11.1.

footer-navigation