prefix-segment
Syntax
prefix-segment { algorithm name { index index; node-segment; } }
Hierarchy Level
[edit policy-options policy-statement policy-name term term-name then] [edit protocols ospf source-packet-routing]
Description
Configure prefix segment attributes such as index and node segment. Prefix segment index is the index assigned to a specific prefix. This is used by all other remote routers in the network to index the prefix into respective segment routing global blocks (SRGB) to derive the segment identifier and to forward the traffic destined for the current prefix. Prefix segment index is provisioned through policy for each prefix along with the option to mark it as a node segment.
algorithm name |
Specify the prefix segment attributes for strict/flex algorithm.
|
index index | Specify the prefix segment index
|
node-segment | Set node segment flag for this prefix segment. |
reuse-allocated-sid | Specify this option if a large number of prefixes need to be assigned SID value. You can reuse the allocated SID on the IGP route only if they are available during export of IGP routes. |
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 17.2.
Statement introduced under [edit protocols ospf source-packet-routing]
hierarchy in Junos OS Release 19.1R1 for MX Series.
reuse-allocated-sid
option introduced in Junos OS Release 20.4R1.