Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


forwarding-class-default (Forwarding Policy)


Hierarchy Level


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


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.