Service and Shortcut Application SR-TE Label Stack Check

Each service and shortcut application on the router performs a check of the resulting net label stack after pushing all the labels required for forwarding the packet in that context. The MPLS module populates each SR-TE LSP in the TTM with the maximum transport label stack size, which consists of the sum of the values in max-sr-labels label-stack-size and additional-frr-labels labels.

Each service or shortcut application then adds the additional, context-specific labels, such as service label and NGE label, required to forward the packet in that context, and checks that the resulting net label stack size does not exceed the maximum label stack supported by the router.

If the check succeeds, the service is bound or the prefix is resolved to the SR-TE LSP. If the check fails, the service will not bind to this SR-TE LSP. Instead, the service will either find another SR-TE LSP or another tunnel of a different type to bind to, if the user configured the use of other tunnel types. Otherwise, the service will go down.

When the service uses an SDP with one or more SR-TE LSPs (up to eight), the spoke SDP bound to this SDP will remain operationally down as long as at least one SR-TE LSP fails the check. In this case, the spoke SDP flag ‟labelStackLimitExceeded” will be displayed in the show output of the service. As well, the prefix will not get resolved to the SR-TE LSP and will either be resolved to another SR-TE LSP or another tunnel type or become unresolved.

The value of additional-frr-labels labels is checked against the maximum value across all IGP instances of the parameter frr-overhead. The frr-overhead parameter value is computed within an IGP instance as shown in Table: Parameter Values for frr-overhead. For more information about FRR overhead, see the Segment Routing in Shortest Path Forwarding section in the 7705 SAR Routing Protocols Guide.

Table: Parameter Values for frr-overhead

Condition

Parameter Value

segment-routing is disabled in the IGP instance

0

segment-routing is enabled but remote-lfa is disabled and ti-lfa is disabled

0

segment-routing is enabled and remote-lfa is enabled but ti-lfa is disabled

1

segment-routing is enabled and ti-lfa is enabled, regardless of whether remote-lfa is enabled or disabled

ti-lfa max-sr-frr-labels label

When the user configures or changes the configuration of additional-frr-labels, MPLS ensures that the new value accommodates the frr-overhead parameter value across all IGP instances.

For example:

If the check is successful, MPLS adds max-sr-labels and additional-frr-labels and checks that the sum is lower than or equal to the maximum label stack supported by the router. MPLS then populates the value of {max-sr-labels + additional-frr-labels}, along with tunnel information in the TTM, and also passes max-sr-labels to the PCEP module.

Conversely, if the user tries a configuration change that results in a change to the computed frr-overhead, the IGP will check that all SR-TE LSPs can properly account for the overhead; otherwise, the change is rejected. On the IGP, enabling remote-lfa may cause the frr-overhead value to change.

For example:

When the user configures the ti-lfa command, the max-sr-frr-labels value parameter is used to limit the search for the LFA backup next hop, as follows:

When the user attempts to change the max-sr-frr-labels parameter to a value that results in a change to the computed FRR overhead, the IGP checks that all SR-TE LSPs can properly account for the overhead based on the configuration of the LSP max-sr-labels and additional-frr-labels values; otherwise, the change is rejected.

The FRR overhead is computed by the IGP and its value is shown in Table: Parameter Values for frr-overhead.

The above LFA commands allow the user to enable the base LFA feature with the loopfree-alternates command, and to add remote LFA with the remote-lfa command and TI-LFA with the ti-lfa command. For more information, see the Segment Routing in Shortest Path Forwarding section in the 7705 SAR Routing Protocols Guide.