Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
OSPF User Guide
Table of Contents Expand all
list Table of Contents

flex-algorithm (Protocols OSPF)

Syntax

content_copy zoom_out_map
flex-algorithm name {
    color color;
   definition (Protocols OSPF) ;
}

Hierarchy Level

content_copy zoom_out_map
[edit logical-systems name routing-instances name routing-options],
[edit logical-systems name routing-options],
[edit logical-systems name tenants name routing-instances name routing-options],
[edit routing-instances name routing-options],
[edit routing-options],
[edit tenants name routing-instances name routing-options]
[edit logical-systems name              routing-instances              name              protocols              ospf              source-packet-routing (Protocols OSPF)],
[edit logical-systems name              protocols              ospf              source-packet-routing (Protocols OSPF)]
[edit logical-systems name tenants name routing-instances name              protocols              ospf              source-packet-routing (Protocols OSPF)],
[edit protocols              ospf              source-packet-routing (Protocols OSPF)],
[edit routing-instances name              protocols              ospf              source-packet-routing (Protocols OSPF)],
[edit tenants name routing-instances name  protocols ospf source-packet-routing (Protocols OSPF)]

Description

Define a flexible algorithm for OSPFv2 to compute a path based on specified parameters to thin slice a network. We recommend configuring flexible algorithms on only a couple of routers to provide redundancy and to avoid conflicts.

Configure participation of routers in a specific flexible algorithm in a network at the [edit protocols] hierarchy level.

Note:

Modifying the flexible algorithm definition could cause traffic disruptions until all the nodes converge on the new paths.

Options

name

Specify a flexible algorithm id to identify a flexible algorithm definition.

  • Range: 128 through 255

color

Specify a color to be associated with this flexible algorithm.

The remaining statements are explained separately. See CLI Explorer.

Required Privilege Level

routing

Release Information

Statement introduced in Junos OS Release 21.1R1.

footer-navigation