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.

Options

name

Specify the locator entry name.

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

Required Privilege Level

routing

Release Information

Statement introduced in Junos OS Release 20.3R1.