Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?




Hierarchy Level


Configure the flex-algorithm definition (FAD) and specify the parameters of the definition. IS-IS 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.



Specify the administrative groups to include or exclude along a specified path.

  • Values:

    • exclude— Specify this option to exclude an admin-group, all of which must be absent.

    • include-all— Specify this option to include an admin-group, all of which must be present.

    • include-any— Specify this option to include an admin-group, one or more of which must be present.


Normal SPF of type 0


Strict SPF


Specify the metric type that you would like to use in your network.

  • Values:

    • delay-metric— Specify this option to enable minimum unidirectional link delay metric (minimum latency).

    • igp-metric— Specify this option to use the IGP route metric instead of the traffic engineering metric.

    • te-metric— Specify this option to use the configured traffic engineering metric instead of the IGP metric if you have enabled traffic engineering on the device.


Specify a priority to the flexible algorithm advertisement. IS-IS prioritizes a particular FAD advertisement over another FAD based on your assigned priority.

  • Range: 0 through 255


Specify this option to advertise FAD Flags sub-TLV with M flag set. Flex-Algo path computation will use FAPM only if the winner FAD has this flag set to true.

The remaining statements are explained separately. See CLI Explorer.

Required Privilege Level


Release Information

Statement introduced in Junos OS Release 19.4R1.