SR-MPLS configuration on the default network-instance

To configure segment routing on the MPLS data plane, you must define the SRGB and enable SR-MPLS on the default network-instance. SR-MPLS is supported on the default network-instance only.

Defining the SRGB and enabling SR-MPLS

The SRGB references a static shared MPLS label range that must be one contiguous block of labels. As part of the SRGB configuration, you must add the segment-routing mpls context on the default network-instance, which enables segment routing based on the MPLS dataplane.

To configure the SRGB, you must first define a static MPLS label range in the system context. You must then assign that MPLS label range to be available for use by the SRGB.

Note: Nokia strongly recommends to use identical SRGBs on all nodes within the SR domain.

Define the MPLS label range for the SRGB

The following example defines static MPLS label range srgb-range-1 for the SRGB.

--{ * candidate shared default }--[ ]--
# info system mpls label-ranges static srgb-range-1
    system {
        mpls {
            label-ranges {
                static srgb-range-1 {
                    shared true
                    start-label 16001
                    end-label 16999
                }
            }
        }
    }

Assign the MPLS label range to the SRGB

The following example assigns static label range srgb-range-1 to the SRGB.

--{ * candidate shared default }--[ ]--
# info network-instance default segment-routing mpls global-block
    network-instance default {
        segment-routing {
            mpls {
                global-block {
                    label-range srgb-range-1
                }
            }
        }
    }