Cisco Crosswork Network Controller 7.2.x Traffic Engineering and Optimization

PDF

Cisco Crosswork Network Controller 7.2.x Traffic Engineering and Optimization

Configure and visualize flexible algorithm SRLG exclusion

Want to summarize with AI?

Log in

This section explains how to configure flexible algorithms to exclude certain groups of links that share common risks (called Shared Risk Link Groups or SRLGs). By doing this, the network avoids using links that might fail together, improving overall network reliability and helping to find safer, more resilient paths.


Flexible algorithms can be configured to exclude groups of links that share common risks, known as Shared Risk Link Groups (SRLGs). This allows operators to prune links from the flexible algorithm topology based on shared risk attributes, ensuring that paths avoid common failure points and enhance network resiliency. When you set an SRLG exclusion for a flexible algorithm, the excluded SRLGs are automatically filtered out from the topology visualization and routing calculations. This helps operators plan alternate, protected paths and avoid risks tied to certain links.

Note

This feature is supported on all devices running Cisco IOS XR software version 25.1.1 or later.

To configure flexible algorithm SRLG exclusion:

Procedure

1.

Configure SRLGs on your devices. Create a group to identify specific SRLG and give a unique value. By associating an interface with an SRLG, you can apply policies or constraints based on these groups.

Note

The SRLG value is displayed only for IPv4 links and is not shown for IPv6 links.

Example:

Cisco IOS XR - SRLG definition
srlg
 interface GigabitEthernet0/0/0/4
  name groupA
 !
 name groupA  !! user-defined group names to identify specific SRLG
  value 900 !! user-assigned numerical identifiers for the SRLG groups
 !
 name groupB
  value 800
 !
2.

Configure the flexible algorithm definition with the SRLG exclusion constraint on your devices.

Example:

Cisco IOS XR - ISIS routing configuration
router isis CORE
 address-family ipv4 unicast
  advertise application flex-algo link-attributes srlg
 !
 flex-algo 129
  priority 129
  srlg exclude-any groupB
  advertise-definition
 !

This configuration advertises the relevant link and SRLG attributes via IS-IS, so other routers can also compute consistent, SRLG-aware paths. It ensures that for Flex-Algo 129, any links that are part of groupB are excluded from path computation and routing.

Note
  • Ensure the flexible algorithm priority is set higher than 128 (for example, 129 in the example) for the exclude SRLG configuration to be correctly reflected and applied.

  • The advertise application flex-algo link-attributes srlg configuration command is not required for OSPF routing protocol.

3.

Crosswork Network Controller automatically discovers these SRLG exclusion constraints from the network. The flexible algorithm for the device then reflects the exclusion. To view these details:

  1. Choose Services & Traffic Engineering > Traffic Engineering.

  2. On the topology map, click on a device. In the Device details page, choose Traffic engineering > Flex Algo.

    Algo129 displays Exclude SRLG as an elected definition.

    Figure 1. Flex Algo device details with SRLG exclusion
    Flex Algo device details with SRLG exclusion
4.

To view whether a link is part of a flexible algorithm topology:

  1. On the topology map, click on a link.

  2. In the Link details page, click the Traffic engineering tab. If the link is a member, the FA SRLGs row displays the configured SRLG values for the source and destination devices.

    Figure 2. Flex Algo link details with FA SRLGs
    Flex Algo link details with FA SRLGs
5.

To visualize the flexible algorithm topology with SRLG exclusions:

  1. On the topology map, click Display Preferences icon and then click Flex Algo.

  2. From the drop-down list, select the flexible algorithm ID (for example, 129) to filter and click Apply.

    The updated topology map displays the flexible algorithm path. Links that were excluded due to SRLG constraints are marked differently to indicate their exclusion from this specific topology.

    Figure 3. Flexible algorithm on map with excluded link
    Flexible algorithm on map with excluded link