Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

srv6

Syntax

srv6 { locator name<no-reduced-srh> <transit-srh-insert> { anycast dynamic-end-sid { flavor { psp; usp; usd; ] end-sid sid flavor { psp; usp; usd; } micro-node-sid; }

Hierarchy Level

Description

Enable SRv6 source packet routing in an IPv6 network and configure the SRv6 options. SRv6 uses IPv6 addresses in extended headers instead of labels. These IPv6 addresses are stacked up in a routing extension header.

Options

locator-name Locator name
anycast Set A flag in the Prefix-Attribute sub-TLV
no-reduced-srh

Configure non-reduced Segment Routing Header (SRH) mode of tunnel encapsulation if you want to preserve the entire SID list in the SRH. In an SRv6 domain, an SRv6 segment can have multiple SRHs in an IPv6 header. Note that multiple SRHs can significantly raise the encapsulation overhead that can sometimes be larger than the actual packet payload.

  • Default: Reduced SRH is enabled for SRv6 tunnel encapsulation. In a reduced SRH mode the device does not preserve the entire SID list in the SRH and thereby reduces the encapsulation overhead of an SRv6 packet.

transit-srh-insert

Enable the SRv6 SRH insert mode on transit devices. IS-IS inserts an SRH as the next header in the original IPv6 packet header and modifies the next header according to the value of SRH. The IPv6 destination address is replaced with the IPv6 address of the first SID in the segment list and the original IPv6 destination address is carried in the SRH header as the last segment in the list.

micro-node-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.

The remaining statements are explained separately. See CLI Explorer.

Required Privilege Level

routing

Release Information

Statement introduced in Junos OS Release 20.3R1.

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