Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?




Hierarchy Level


Configure the compute profile for dynamically computed paths. You can use a compute profile to logically group the computation constraints. These compute profiles are referenced by the segment routing paths for computing the primary and secondary segment routing LSPs.



Name of the computation-profile.


Algorithm that you would prefer to participate (1 to 255).

  • Values:

    • 1—Strict SPF Algorithm

    • 128 to 255—Flex Algorithm

    • 2 to 127—Invalid range and proper commit check error will be given to user


Only one algorithm can be configured in the compute profile.

The configured algorithm is used as a constraint and SIDs corresponding to the given algorithm will be used for compression.

By default, the value is 0 and hence would result in just using algorithm 0 SIDs for compression.


Choose protected labels if available.

  • Values:

    • mandatory—Mandatorily choose protected labels.


Choose unprotected labels if available.

  • Values:

    • mandatory—Mandatorily choose unprotected labels.


Name of the compute type segment list.


Maximum number of segment-lists (ECMP paths) to be computed.

  • Range: 1 through 128


Maximum depth of computed path.

  • Range: 1 through 16


Specify the metric type used for computation.

  • Values:

    • igp—Interior gateway protocol metric.

    • te—Traffic-engineering metric.

    • delay—Compute delay metrics.

      For metric-type delay, you can assign the following metric types:

      • minimum—Minimum delay metric value from TED for cumulative lowest latency path calculation. The minimum delay metric is enabled by default.
      • average—Average delay metric value from TED for cumulative lowest latency path calculation.
      • maximum—Maximum delay metric value from TED for cumulative lowest latency path calculation.
      • delay-variation-threshold <value>—Link delay variation threshold (1..16777215). Any link exceeding the delay variation threshold would be excluded from path calculation. The delay variation threshold is independent of whether you are doing optimization for minimum, maximum, or average.

Provide fully expanded path, using adjacency segment identifiers.

The remaining statements are explained separately. See CLI Explorer.

Required Privilege Level


Release Information

Statement introduced in Junos OS Release 19.2R1-S1.