Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?




Hierarchy Level


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.


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


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.



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.

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.


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


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.

Required Privilege Level


Release Information

Statement introduced in Junos OS Release 20.3R1.