Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


forwarding-class (Forwarding Policy)


Hierarchy Level


Define forwarding class name and associated next hops.



Name of the forwarding class.


Match any non-labelled next hop.


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.


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.