About the Segment Routing Global Block
The SRGB label values are assigned as prefix segment identifiers (SIDs) to SR-enabled nodes and have global significance throughout the domain.
Note |
Because the values assigned from the range have domain-wide significance, we recommend that all routers within the domain be configured with the same range of values. |
The default SRGB range is from 16000 to 23999.
Note |
On SR-capable routers, the default starting value of the dynamic label range is increased from 16000 to 24000, so that the default SRGB label values (16000 to 23999) are available when SR is enabled on a running system. If a dynamic label range has been configured with a starting value of 16000, then the default SRGB label values may already be in use when SR is enabled on a running system. Therefore, you must reload the router after enabling SR to release the currently allocated labels and allocate the SRGB. Also, if you need to increase the SRGB range after you have enabled SR, you must reload the router to release the currently allocated labels and allocate the new SRGB. |
To keep the segment routing configuration simple and to make it easier to troubleshoot segment routing issues, we recommend that you use the default SRGB range on each node in the domain. However, there are instances when you might need to define a different range. For example:
-
The nodes of another vendor support a label range that is different from the default SRGB, and you want to use the same SRGB on all nodes.
-
The default range is too small.
-
To specify separate SRGBs for IS-IS and OSPF protocols, as long as the ranges do not overlap.
Restrictions:
-
In Cisco IOS XR release 6.2.x and earlier, LSD label values 0-15999 are reserved. In Cisco IOS XR release 6.3.1 and later, LSD label values 0-14999 are reserved.
-
In Cisco IOS XR release 6.2.x and earlier, the maximum SRGB size is 65536. In Cisco IOS XR release 6.3.1 and later, the maximum SRGB size is 262,143.
-
The SRGB upper bound cannot exceed the platform's capability.
Note |
Label values that are not previously reserved are available for dynamic assignment. |
The SRGB can be disabled if SR is not used.