Segment Routing Global Block (SRGB)
Segment Routing Global Block (SRGB)
Segment Routing Global Block (SRGB)
The Segment Routing Global Block (SRGB) is the range of label values reserved for Segment Routing
(SR) in the Label Switching Database (LSD). These values are assigned as segment identifiers (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.
SRGB Limitations
• LSD label values 0-15,999 are reserved.
• The SRGB size cannot be more than 2^16 or 65536.
• The SRGB upper bound value cannot exceed the platform capability.
• The SRGB cannot be configured to be the same value as the default SRGB. So SRGB cannot be
configured for 16000 to 23999.
Note Label values that are not previously reserved are available for dynamic assignment.
Segment Routing for Cisco ASR 920 Series Aggregation Services Routers
2-1
Chapter 2 Segment Routing Global Block (SRGB)
Adjacency Segment Identifiers
2. The new range is either a disjoint range from the existing SRGB or overlaps with existing SRGB
In this case, SR is disabled and the previous configuration is deleted. See Figure 1-5
To configure an SRGB:
enable
configure terminal
segment-routing mpls
global-block 16000 17000
Segment Routing for Cisco ASR 920 Series Aggregation Services Routers
2-2
Chapter 2 Segment Routing Global Block (SRGB)
Prefix Segment Identifiers
For example.
connected-prefix-sid-map
address-family ipv4
92.0.0.0/24 index 51 range 1
2.2.2.2/32 index 2 range 1
Note The index and absolute keywords indicate whether the label value entered should be interpreted as an
index in the SRGB or as an absolute value. By default, the value is interpreted as an index value.
Regardless of the configuration mode, the value is advertised by the protocols as an index value.
Note The index and absolute keywords indicate whether the label value entered should be interpreted as an
index in the SRGB or as an absolute value. By default, the value is interpreted as an index value.
Regardless of the configuration mode, the value is advertised by the protocols as an index value.
Segment Routing for Cisco ASR 920 Series Aggregation Services Routers
2-3
Chapter 2 Segment Routing Global Block (SRGB)
The IGPs communicate the preference to the CEF, which in turn processes the forwarding for that prefix
accordingly.
Segment Routing for Cisco ASR 920 Series Aggregation Services Routers
2-4