preserve-nexthop-hierarchy (SRv6 TE)
Syntax
preserve-nexthop-hierarchy { (sr-mpls | srv6); }
Hierarchy Level
[edit protocols source-packet-routing]
Description
Enable preserve-nexthop hierarchy support for source packet routing. When you
enable preserve-nexthop-hierarchy
, SRv6 TE transport is
populated correctly so that service resolution is performed properly. The
preserve-nexthop-hierarchy
statement at the
[edit protocols source-packet-routing]
hierarchy
level is a prerequisite for configuring SR-TE SRv6 tunnels. However, if you
enable the global configuration statement set routing-options
resolution preserve-nexthop-hierarchy
, then
preserve-nexthop-hierarchy
statement at the
[edit protocols source-packet-routing]
is not
mandatory. Additionally, you have an option to enable the
preserve-nexthop-hierarchy
only for a certain data
plane for transports populated by SR-TE. The following options when enabled
disable the preserve-nexthop-hierarchy
for that data
plane.
Options
sr-mpls | Disable preserve-nexthop-hierarchy for sr-mpls. |
srv6 |
Disable preserve-nexthop-hierarchy for srv6. |
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 21.3R1.