Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
external-header-nav
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-class-default (Forwarding Policy)

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
forwarding-class-default class-name {
    discard;
    lsp-next-hop [ lsp-regular-expression ];
    next-hop [ next-hop-name];
    non-lsp-next-hop;
    match-next-hop-forwarding-class;
}

Hierarchy Level

content_copy zoom_out_map
[edit class-of-service forwarding-policy next-hop-map map-name]

Description

Define the next hop for traffic that does not meet any forwarding class in the next-hop map.

Options

class-name—Name of the forwarding class.

match-next-hop-forwarding-class—Match any pre-defined forwarding-class or a forwarding-class that is configured using CLI.

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 14.1.

Statement introduced for QFX10000 Series switches in Junos OS Release 17.1R1.

match-next-hop-forwarding-class option introduced in Junos OS Evolved Release 21.3R1 for PTX10008 platform.

external-footer-nav