definition (Protocols OSPF)
Syntax
definition { (spf | strict-spf); metric-type (igp-metric | te-metric); priority priority; }
Hierarchy Level
[edit logical-systems name routing-instances name routing-options flex-algorithm], [edit logical-systems name routing-options flex-algorithm], [edit logical-systems name tenants name routing-instances name routing-options flex-algorithm], [edit routing-instances name routing-options flex-algorithm], [edit routing-options flex-algorithm], [edit tenants name routing-instances name routing-options flex-algorithm]
Description
Configure the flex-algorithm definition (FAD) and specify the parameters of the definition. OSPFv2 calculates the path based on these specified parameters of the FAD. We recommend configuring flexible algorithm on only a couple of routers to provide redundancy and to avoid conflicts.
Options
spf |
Normal SPF of type 0 |
strict-spf |
Strict SPF |
metric-type |
Specify the metric type that you would like to use in your network.
|
priority |
Specify a priority to the flexible algorithm advertisement. OSPFv2 prioritizes a particular FAD advertisement over another FAD based on your assigned priority.
|
The remaining statements are explained separately. See CLI Explorer.
Required Privilege Level
routing
Release Information
Statement introduced in Junos OS Release 21.1R1.