srv6 (Routing Options)
Syntax
srv6 {
block block-name;
locator locator-name;
no-reduced-srh;
transit-srh-insert;
traceoptions;
oam;
}
Hierarchy Level
[edit routing-instances name routing-options source-packet-routing], [edit routing-options source-packet-routing], [edit tenants name routing-instances name routing-options source-packet-routing]
Description
Enabling tracing can adversely impact scale and performance and may increase security risk. We strongly recommend using the trace, tracing, or traceoptions commands only under the guidance of a JTAC support engineer. After collecting the debug information, immediately disable tracing to minimize risk and restore normal system performance.
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
| 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.
|
| 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. |
The remaining statements are explained separately. See CLI Explorer.
Required Privilege Level
routing
Release Information
Statement introduced in Junos OS Release 20.3R1.