source-packet-routing (Protocols OSPF)
Syntax
source-packet-routing { adjacency-segment { hold-time hold-time; } disable; explicit-null; node-segment { index-range index range; ipv4-index index; } flex-algorithm name { color color; definition; } sensor-based-stats; strict-asla-based-flex-algorithm; srgb { start-label start-label; index-range index range; } }
Hierarchy Level
[edit logical-systems logical-system-name protocols ospf], [edit logical-systems logical-system-name routing-instances routing-instance-name protocols ospf], [edit protocols ospf], [edit routing-instances routing-instance-name protocols ospf]
Description
Configures source packet routing in networking (SPRING) feature.
Default
Disabled on all the levels.
Options
adjacency-segment <hold-time hold-time> |
Configure attributes for adjacency segments in source packet routing in networking (SPRING), or configure segment routing (SR) to ensure that the adjacency segment identifiers are retained during adjacency or link flaps. The adjacency segments are not released immediately and are retained for the configured hold time duration.
|
|||||||||
disable |
Disable source packet routing from a specific level. |
|||||||||
explicit-null |
Configure E and P bits in all prefix segment identifier (SID) advertisements. |
|||||||||
node-segment |
Enable source packet routing in networking (SPRING) at all levels. SPRING or segment routing is a control-plane architecture that enables an ingress router to steer a packet through a specific set of nodes and links in the network without relying on the intermediate nodes in the network to determine the actual path it should take. Note:
Provisioning the IPv4 and IPv6 node segment index is allowed per routing-instance, and will NOT be allowed per IS-IS level. Node segment index is attached to the IPv4 and IPv6 router-id, if the router-ids are configured on the loopback interface. Else, lowest IP address on the loopback is chosen to attach the node-sid.
|
The remaining statements are explained separately. See CLI Explorer.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 16.2.
The strict-asla-based-flex-algorithm
option introduced in Junos OS
and Junos OS Evolved Release 22.2R1.