OcNOS-SP : Segment Routing Guide : Segment Routing Command Reference : Segment Routing Commands : ospf segment-routing global block
ospf segment-routing global block
Use this command to set the Segment Routing Global Block (SRGB) range at each node. The SRGB is the range of labels reserved for segment routing. In MPLS, SRGB is the set of labels reserved for global segments.
SRGB range must be configured as non-overlapping range for each IGP instances and also for each IGP protocols. IGP protocols must use SRGB range within the globally configured SRGB value or default SRGB value if no global SRGB is configured.
Use the no form of this command to remove an SRGB range. Segment routing must be disabled before removing a particular range.
Command Syntax
ospf segment-routing global block <16-1048575> <16-1048575>
no ospf segment-routing global block
Parameters
<16-1048575>
Start and end values of the SRGB range
Defaults
Start value of SRGB range: 16000
End value of SRGB range: 23999
Command Mode
OSPF router mode
Applicability
This command was introduced in OcNOS version 4.0 and the SRGB range changed in OcNOS version 6.1.0.
Example
#configure terminal
(config)#router ospf bb
(config-router)#ospf segment-routing global block 17000 19000
Last modified date: 10/20/2023