Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

locator

Syntax

Hierarchy Level

Description

Configure the locator for an SRv6 node in an IPv6 domain to indicate the SRv6 capability of the router. A Segment Identifier (SID) is a 128-bit IPv6 address that represents a specific segment in a segment routing domain. A SID consists of two parts, the first part is called the locator and consists of the most significant bits that represent the address of a particular SRv6 node. Routing protocols such as IGP and BGP that typically advertise routing prefixes, advertise the locator in an SRv6 node. The size of the locator is flexible that you can customize the size as per your requirements. However, we recommend configuring locator with prefix length of 64, which is sufficient for various services and transport purposes.

Note:

Make sure that the locator and SIDs belong to the same subnet to avoid commit errors.

Note:

Note: From 23.4R1 release, the existing routing-options source-packet-routing srv6 locator configuration commit check is removed to facilitate configuration of algorithms for micro-sids under the same locator.

Options

name

Specify the locator entry name.

anycast Set A flag in the prefix-attribute sub-TLV through a policy to enable anycast locators. By default, the A flag is preserved while leaking IS-IS routes.
end-sid

Configure the address of the locator service for SRv6. Ensure that the locator address and interface address belong to the same prefix to avoid unexpected network behavior.

flavor

Specify end sid behavior such as Penultimate Segment Pop (PSP), Ultimate Segment Pop (USP) or Ultimate Segment Decapsulation (USD).

algorithm

Specify the algorithm associated with this locator. You can define a flexible algorithm as per your network requirements.

  • Range: 0 through 255

dynamic-end-sid You can configure this option in addition to the existing end-sid. IS-IS dynamically allocates one end-sid address for a locator. Note that you cannot configure this option for micro SIDs.
micro-sid Configure a micro node SID with the same value as that of the locator. Note that the micro node SID has the same flavors as that of the specified locator. If you configure this option, IS-IS advertises micro-node-SID in addition to the locator.

Required Privilege Level

routing

Release Information

Statement introduced in Junos OS Release 20.3R1.

micro-sid option introduced in Junos OS Release 23.4R1.