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

forwarding-policy

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
forwarding-policy {
    next-hop-map map-name {
        forwarding-class class-name {
            discard;
            lsp-next-hop [ lsp-regular-expression ];
            next-hop [ next-hop-name ];
            non-lsp-next-hop;
        }
        forwarding-class-default {
            discard;
            lsp-next-hop [ lsp-regular-expression ];
            next-hop [next-hop-name];
            non-lsp-next-hop;
        }
    }
    class class-name {
        classification-override {
            forwarding-class class-name;
        }
    }
}

Hierarchy Level

content_copy zoom_out_map
[edit class-of-service]

Description

Define CoS-based forwarding policy options.

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 before Junos OS Release 7.4.

Statement introduced for QFX10000 Series switches in Junos OS Release 17.1R1 to support CoS-based forwarding (CBF). [set class-of-service forwarding-policy class] is not supported on QFX10000 Series switches.

footer-navigation