Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
keyboard_arrow_right

forwarding-class

date_range 10-Dec-23

Classifier

content_copy zoom_out_map
forwarding-class class-name {
    loss-priority level {
        code-points [ aliases ] [ bit-patterns ];
    }
}

Classifier (EX Series switches)

content_copy zoom_out_map
forwarding-class class-name {
    loss-priority level {
        code-points [aliases] [6–bit-patterns];
    }
}

Rewrite Rule

content_copy zoom_out_map
forwarding-class class-name {
    loss-priority level {
        code-point [ aliases ] [ bit-patterns ];
    }
}

Scheduler Map

content_copy zoom_out_map
forwarding-class class-name {
    scheduler scheduler-name;
}

Interface

content_copy zoom_out_map
forwarding-class class-name;

Classifier Hierarchy Level

content_copy zoom_out_map
[edit class-of-service classifiers (dscp | dscp-ipv6 | ieee-802.1 | exp) classifier-name]

Classifier Hierarchy Level (EX Series Switches)

content_copy zoom_out_map
[edit class-of-service classifiers (dscp | ieee-802.1 | inet-precedence) classifier-name]

Rewrite Rule Hierarchy Level

content_copy zoom_out_map
[edit class-of-service rewrite-rules] (dscp | dscp-ipv6 | ieee-802.1) rewrite-name | exp]

Rewrite Rule Hierarchy Level (EX Series Switches)

content_copy zoom_out_map
[edit class-of-service rewrite-rules] (dscp | ieee-802.1 | inet-precedence) rewrite-rule-name]

Scheduler Map Hierarchy Level

content_copy zoom_out_map
[edit class-of-service scheduler-maps map-name]

Interface Hierarchy Level

content_copy zoom_out_map
[edit class-of-service interfaces interface-name unit logical-unit-number]

Host-Outbound Traffic Hierarchy Level (EX Series Switches)

content_copy zoom_out_map
[edit class-of-service host-outbound-traffic]

Description

Define forwarding class name and option values.

  • Classifiers—Assign incoming traffic to the specified forwarding class based on the specified code point values and assign that traffic the specified loss priority.

  • Rewrite rules—At the egress interface, change (rewrite) the value of the code point bits and the loss priority to specified new values for traffic assigned to the specified forwarding class, before forwarding the traffic to the next hop.

  • Scheduler maps—Apply the specified scheduler to the specified forwarding class.

  • Interfaces—Assign the specified forwarding class to the interface to use as a fixed classifier (all incoming traffic on the interface is classified into that forwarding class).

Options

class-name—Name of the forwarding class.

The remaining statements are explained separately. See CLI Explorer.

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.

external-footer-nav