Segment Routing
Configure Segment Routing (SR) global and local block parameters on IOS-XR devices.
Diagram
Section titled “Diagram”Classes
Section titled “Classes”configuration (iosxr.devices)
Section titled “configuration (iosxr.devices)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| segment_routing | Class | [segment_routing] | No |
segment_routing (iosxr.devices.configuration)
Section titled “segment_routing (iosxr.devices.configuration)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| global_block_lower_bound | Integer | min: 16000, max: 1048575 | No | |
| global_block_upper_bound | Integer | min: 16000, max: 1048575 | No | |
| local_block_lower_bound | Integer | min: 15000, max: 1048575 | No | |
| local_block_upper_bound | Integer | min: 15000, max: 1048575 | No |
Example YAML Code:
Section titled “Example YAML Code:”Example-1: Configure Segment Routing with global and local blocks.
iosxr: devices: - name: router-1 host: 10.10.10.1:57400 configuration: segment_routing: global_block_lower_bound: 16000 global_block_upper_bound: 23999 local_block_lower_bound: 15000 local_block_upper_bound: 15999Example-2: Configure Segment Routing with default settings.
iosxr: devices: - name: router-2 host: 10.10.10.1:57400 configuration: segment_routing: global_block_lower_bound: 16000 global_block_upper_bound: 19999