Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents

srv6 (Protocols BGP)

date_range 17-May-24

Syntax

content_copy zoom_out_map
srv6 {
     locator locator-name {
              end-dt4-sid end-dt4-sid | end-dt6-sid end-dt6-sid | end-dt46-sid end-dt46-sid | non-default;
              micro-dt4-sid micro-sid-value | micro-dt6-sid micro-sid-value | micro-dt46-sid micro-sid-value | non-default;
     }

Hierarchy Level

content_copy zoom_out_map
[edit fabric protocols bgp source-packet-routing],
[edit logical-systems name protocols bgp source-packet-routing],
[edit logical-systems name routing-instances name protocols bgp source-packet-routing],
[edit logical-systems name tenants name routing-instances name protocols bgp source-packet-routing],
[edit protocols bgp source-packet-routing],
[edit routing-instances name protocols bgp source-packet-routing],
[edit tenants name routing-instances name protocols bgp source-packet-routing]

Description

Enable IPv6 segment routing capability in BGP. You can also configure BGP-based Layer 3 services over the SRv6 core network with BGP as the control pane and SRv6 as the dataplane.

Options

locator locator-name

Specify a name to identify the locator.

end-dt4-sid end-dt4-sid

(optional) Specify the SID to enable IPv4 transport over SRv6 core network.

end-dt6-sid end-dt6-sid

(optional) Specify the SID to enable IPv6 transport over SRv6 core network.

end-dt46-sid end-dt46-sid

(optional) Specify the SID to enable endpoint decapsulation of outer IPV6 header and lookup of the inner IPV4 or IPv6 packets in specific route table,

micro-dt4-sid micro-sid-value (optional) Specify a static micro SID value 16-bit or 32-bit. If you do not specify the micro SID value for IPv4 prefixes, BGP allocates a dynamic micro SID value.
micro-dt6-sid micro-sid-value (optional) Specify a static micro SID value 16-bit or 32-bit. If you do not specify the micro SID value for IPv6 prefixes, BGP allocates a dynamic micro SID value.
micro-dt46-sid micro-sid-value (optional) Specify a static micro SID value 16-bit or 32-bit. If you do not specify the micro SID value for IPv4 and IPv6 prefixes, BGP allocates a dynamic micro SID value.
non-default Use this option to configure multiple service SIDs. Specify non-default SIDs through a BGP routing policy. Note that you can use this option for service prefixes only.

Required Privilege Level

routing

Release Information

Statement introduced in Junos OS Release 20.4R1.

end-dt46-sid option introduced in Junos OS Release 22.1R1

micro-dt4-sid micro-sid-value, micro-dt6-sid micro-sid-value, micro-dt46-sid micro-sid-value, and non-default; options introduced in Junos OS Evolved Release 23.2R1 and Junos OS Release 23.4R1.

footer-navigation