Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

preserve-nexthop-hierarchy (SRv6 TE)

date_range 09-Dec-23

Syntax

content_copy zoom_out_map
preserve-nexthop-hierarchy {
                  (sr-mpls | srv6);
}

Hierarchy Level

content_copy zoom_out_map

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.

footer-navigation