You are on page 1of 2

Segment Routing Labels

30 May 2021 20:02

IGPs are used to distribute label information for segment routing.

The SRGB is the range of label values reserved for SR in the Label Information Database (LIB) or
Label Switching Database (LSD).

These values are assigned as SIDs to SR-enabled nodes and have global significance throughout
the domain. On SR-capable routers, SRGB is enabled by default so that label values are
automatically reserved when the router first boots, whether SR is enabled or not. The default
SRGB range is 16000 to 23999, and the SRGB can be disabled if SR is not used. You can also
specify separate SRGBs for IS-IS and OSPF protocols so long as the ranges do not overlap.

The Segment Routing Local Block (SRLB) is a range of label values preserved for the manual
allocation of adjacency segment identifiers (adj-SIDs). These labels are locally significant and are
only valid on the nodes that allocate the labels. The default SRLB range is from 15000 to 15999.

IS-IS SRGB in Router Capabilities TLV


• The SRGB is advertised in the IS-IS Router Capabilities TLV.
• The Router Capabilities TLV contains a router ID (32 bits), flags (8 bits), and optional sub-
TLVs.

The Router Capabilities TLV flags can be described as follows:

1. S: Scope; if set, it floods the TLV across the entire routing domain.
2. D: Down; set if the TLV is leaked from Level 2 to Level 1.
○ The SR Capabilities sub-TLV is included in the Router Capabilities TLV.
○ The SR Capabilities sub-TLV contains flags and one or more SRGB descriptors.
○ An SRGB descriptor contains the range, and the SID/label, indicating a start of SRGB.
○ The flags in the SR-Capabilities sub-TLV are as follows:

3. I: IPv4; if set, the router is capable of outgoing IPv4 encapsulation on all interfaces.
4. V: IPv6; if set, the router is capable of outgoing IPv6 encapsulation on all interfaces.

The figure shows a typical IS-IS routing configuration enabled for segment routing on the
left and a corresponding representation of the configuration in the IS-IS database on the
right.
Router isis 1
Is-type level-2-only
Net 49.0001.0000.0000.0001.00
Address-family ipv4 unicast
Metric-style wide
Segment-routing-mpls
!
Address-family ipv6 unicast
Metric-style wide
Segment-routing mpls
!

You might also like