forwarding-class (Forwarding Policy)
Syntax
forwarding-class class-name { discard; lsp-next-hop [ lsp-regular-expression ]; next-hop [ next-hop-name]; non-labelled-next-hop; non-lsp-next-hop; match-next-hop-forwarding-class; transport-class { color color; } }
Hierarchy Level
[edit class-of-service forwarding-policy next-hop-map map-name] [edit class-of-service forwarding-policy class class-name classification-override]
Description
Define forwarding class name and associated next hops.
Options
class-name |
Name of the forwarding class. |
non-labelled-next-hop | Match any non-labelled next hop. |
match-next-hop-forwarding-class |
Match any pre-defined forwarding-class or a forwarding-class that is configured using CLI. |
transport-class color color |
Match transport-class key in FRR indirect keys structure. |
Note:
This option is available only at [edit class-of-service forwarding-policy next-hop-map next-hop-map-name forwarding-class forwarding-class-name] hierarchy level. |
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.
non-labelled-next-hop
option introduced in Junos
OS Release 19.1R1 for all platforms.
match-next-hop-forwarding-class
option introduced in Junos OS
Evolved Release 21.3R1 for PTX10008 platform.