Optimize LSPs

This section contains the following topics:

LSP disjoint path optimization

A LSP disjoint path optimization is a tool in Cisco Crosswork Planning that

  • creates disjoint LSP paths for RSVP LSPs and SR LSPs, and

  • optimizes these paths based on user-specified constraints.

LSPs and LSP paths are disjoint when they do not route over common objects, such as interfaces, or nodes. Using disjoint LSPs ensures service continuity and high resiliency in the event of network failures. For example, this tool lets you route LSPs to have disjoint primary and secondary paths that are optimized to use the lowest delay metric possible.

If it is not possible to achieve the optimization as defined by the routing selection, path requirements, and constraints, the tool provides the best disjoint paths and optimization possible.


Note


  • The LSP disjoint path optimization tool supports both Inter-Area and Inter-AS functionalities.

  • The optimizer can be applied to both RSVP LSPs and SR LSPs. However, only one type of LSPs can be optimized at a time.


To access the LSP disjoint path optimization tool, from the toolbar, choose Actions > Tools > LSP optimization > LSP disjoint path optimization.

When the optimization completes, the system tags the LSPs with DSJOpt and generates a report containing the optimization results.

Specify optimization inputs

Disjoint routing selection options

The Disjoint routing selection section provides several options for configuring how LSP routes are managed in the system.
Configurable disjoint routing options
Figure 1. Disjoint routing selection options
Disjoint routing selection options

The routing options include:

  • Create disjoint primary and secondary paths for LSPs: For all LSPs, whether they are in a disjoint group or not, routes all LSP paths so that they are disjoint from all other paths belonging to that LSP. This disjointness extends beyond primary and secondary paths to include all other path options (for example, tertiary).

  • Create disjoint paths between LSPs in disjoint groups: For all LSPs that are in disjoint groups, routes all LSP paths so that they are disjoint from all other paths belonging to LSPs in that disjoint group. This disjointness extends beyond primary and secondary paths to include all other path options (for example, tertiary).

    For example, all LSPs in disjoint group East are rerouted to be disjoint from each other. All LSPs in disjoint group Southeast are rerouted to be disjoint from each other. However, LSP paths in the East group are not rerouted to be disjoint from those in the Southeast group.

  • Create disjoint primary paths for LSPs in disjoint groups: For all LSPs that are in disjoint groups, reroutes only their primary paths so that they are disjoint from each other.

Additional behaviors in Cisco Crosswork Planning
  • No new LSP paths are created. Only existing LSP paths are rerouted.

  • Explicit hops are modified or created for RSVP LSPs.

  • Segment lists are created only for LSP paths, and only LSP path segment lists are updated. If a segment list is associated with an LSP (rather than an LSP path), that LSP segment list is removed.

Disjoint path requirements

The disjoint path requirements identify the priority for creating disjointness across a path. Disjointness priorities 1, 2, 3, and Ignore are available for circuits, SRLGs, nodes, and sites. The tool tries to create disjointness for all objects that have a priority set other than Ignore. If full disjointness cannot be achieved, the tool prioritizes disjointness based on these values.
Figure 2. Disjoint path requirements
Disjoint path requirements

For example, in Disjoint path requirements, Circuits have a priority of 1, SRLGs have a priority of 2, and the other objects are ignored. If the tool cannot achieve full disjointness across both circuits and SRLGs, it prioritizes the disjointness of circuits over SRLGs.

RSVP LSP path comparison example
This example compares the characteristics of primary and secondary RSVP LSP paths based on disjoint circuit settings. The LSP has a primary and secondary LSP paths that use the same route from cr2.sjc to cr2.wdc. The LSP is not a member of a disjoint group.

The Primary and secondary paths based on disjoint circuit requirements shows the explicit interface hops set for the secondary LSP path that force it to take a different route from cr2.sjc to cr2.wdc. As the disjoint path requirement is only circuits, the primary and secondary paths route across different circuits, as indicated in the resulting report.

Figure 3. Primary and secondary paths based on disjoint circuit requirements
Primary and secondary paths based on disjoint circuit requirements

Path constraint options

The Constraints section provides the these options for path management:
  • Minimize path metric: Paths are optimized to minimize the sum of the metrics along the path with respect to delay, TE, or IGP metrics. All of these properties are configurable from an interface Properties window, and delays can also be set in a circuit Properties window.

  • Fix LSP Paths: Selected or tagged LSP paths are not rerouted. This constraint is useful when you have previously optimized specific LSPs within the network and want to maintain their routes.

  • Only update LSP Paths that violate requirements: Paths are modified only if they violate the requirements specified in the area of the Disjoint path requirements window.

Constraints options
Disjoint route optimization for SR LSPs

This example shows how disjoint routes can be optimized for two SR LSPs using the same source (sjc) and destination (kcy).

In this example:

  • Both LSPs belong to the same disjoint group, and both LSPs have an LSP path.

  • The circuit between sjc and kcy has significantly higher delay than the other circuits.

  • The only disjoint path requirement selected is circuits.

  • Routing of SR LSPs shows this:

    • Before using the LSP Disjoint Path Optimization tool, both LSP paths use the same route. There are no segment list hops.

    • When you select the option to create disjoint paths between LSPs in the same disjoint group and use the TE metric for the shortest path calculation, two disjoint LSP path routes are created. Both routes include a segment list node hop (as indicated by the orange circle around the node) on the destination node. One route also includes a segment list node hop on sea, which ensures a different route is used.

    • When you select the same disjoint option and use the Delay metric for the shortest path calculation, one LSP is moved away from the high-delay sjc-kcy circuit. Traversing that circuit does not provide the shortest latency path.

Figure 4. Routing of SR LSPs
Routing of SR LSPs

Create disjoint groups for LSPs

Use this task to assign LSPs to disjoint groups, to define separate routing options and priorities.

Disjoint groups are used to ensure that LSPs within the same group choose alternate routes. This setup minimizes path overlap, so each LSP uses a different route based on assigned priorities.

Before you begin

  • The network model must already contain the primary LSP paths. If using the option to create disjoint primary and secondary paths, it must also at least contain secondary LSP paths, though it can contain other path options, such as tertiary.

  • If you are creating disjoint paths between LSPs in the same disjoint group, the LSPs must first be added to the disjoint groups.

Procedure

Step 1

Open the plan file (see Open plan files). It opens in the Network Design page.

Step 2

In the Network Summary panel on the right side, choose one or more LSPs from the LSPs table.

Step 3

Click Edit icon.

Step 4

Click the Advanced tab.

Step 5

Expand the Explicit route selection panel and enter the Disjoint group name.

Step 6

Assign priorities to LSPs within these groups, if needed. Higher priority LSPs are assigned shorter routes based on the selected metric. The higher the number, the lower the priority.

Example: There are two LSPs in the same disjoint group, each with a different disjoint priority. Run the LSP disjoint path optimization tool to create disjoint paths for LSPs in the same disjoint group using TE metrics as a constraint. The LSP with a disjoint priority of 1 routes using the lowest TE metric, and the LSP with a disjoint priority of 2 routes using the second lowest TE metric.

Step 7

Click Save.


Run the LSP disjoint path optimization tool

Use this task to ensure your LSPs utilize disjoint paths, reducing risk from single points of failure and enforcing compliance with network path requirements.

Procedure

Step 1

Open the plan file (refer to Open plan files). It opens in the Network Design page.

From the toolbar, choose any of the these options:

  • Actions > Tools > LSP optimization > LSP disjoint path optimization

    OR

  • Preset workflows > Perform optimization , select LSP Optimization as the optimization type, choose LSP disjoint path optimization from the drop-down list, and click Launch.

Step 2

Select the LSPs for which you want to optimize the disjoint paths.

Step 3

In the Disjoint routing selection section, select how to route the disjoint paths. For details, see Disjoint routing selection options.

Step 4

In the Disjoint path requirements section, select the disjoint path requirements and priorities. For details, see Disjoint path requirements.

Step 5

In the Constraints section, select the constraints. For details, see Path constraint options.

Step 6

(Optional) In the Tag updated LSP Paths with field on the Run Settings page, override the defaults for how LSP paths are tagged ( DSJopt).

Step 7

On the Run Settings page, choose whether to execute the task now or schedule it for a later time. Choose one of these Execute options:

  • Now: Choose this option to execute the job immediately. The tool runs and changes are applied to the network model immediately. A summary report appears. You can access the report any time later using Actions > Reports > Generated reports option.

  • As a scheduled job: Choose this option to execute the task as an asynchronous job. Set these options:

    • Priority: Select the priority of the task.

    • Engine profiles: Select the engine profile as needed. This section lists all the available asynchronous engine profiles.

    • Schedule: Set the time at which you want to run the tool.

    The tool runs at the scheduled time using the selected engine profile. You can track the status of the job at any time using the Job Manager page (from the main menu, choose Job Manager). Once the job completes, import the output plan file into user space to visualize it. For more information, refer to Access output plan files from job manager.

    Note

     
    Ensure that you save the plan file before you schedule the job. Any unsaved changes in the plan file are not considered when you run the tool as a scheduled job.

Step 8

(Optional) If you want to display the result in a new plan file, specify a name for the new plan file in the Display results section.

In the previous step:
  • If you have selected to run the task immediately, by default, the changes are applied on the current plan file. If you want to display the results in a new file, select the Display results in a new plan file check box and enter the name of the new plan file.

  • If you have scheduled the task to run at a later time, by default, the results are displayed in the Plan-file-1. Update the name, if required.

Step 9

Click Submit.


What to do next

Refer to LSP disjoint path optimization report.

LSP disjoint path optimization report

The LSP Disjoint Path Optimization report provides a summary of the optimization results.

Each time the optimization tool is run, a report is automatically generated. You can access this information at any time by choosing Actions > Reports > Generated reports and then clicking the LSP Disjoint Path Optimization link in the right panel.

The resulting report summarizes the number of LSPs and number of updated LSP paths. Depending on the disjoint option selected, the report summarizes the uniquely distinguishing attributes, such as LSP name and disjoint group name.

The LSP Disjointness, and Path Disjointness areas all list the number of common objects (selected as disjoint path requirements) before and after the optimization, as well as disjointness violations based on these requirements before and after the optimization.

LSP loadshare optimization

A LSP loadshare optimization is a Cisco Crosswork Planning tool that

  • automates the process of finding and setting the most favorable loadshare ratios across parallel LSPs

  • includes only interfaces that use parallel LSPs in the optimization process, and

  • allows you to limit parallel LSP interfaces to only those on which you want to drive down the maximum utilization.

After completing the operation, the system tags the LSPs with LSPLoadshare and generates a report. The report includes:

  • The number of LSPs and interfaces affected

  • The number of bins used

  • The resulting maximum interface utilization

  • The number of interfaces exceeding the specified utilization threshold

Run LSP loadshare optimization

Use this task to optimize LSP loadshare settings to improve traffic distribution and minimize overutilization in your network.

Procedure


Step 1

Open the plan file (refer to Open plan files). It opens in the Network Design page.

From the toolbar, choose any of the these options:

  • Actions > Tools > LSP optimization > LSP loadshare optimization

    OR

  • Preset workflows > Perform optimization, select LSP Optimization as the optimization type, choose LSP loadshare optimization from the drop-down list, and click Launch.

Step 2

Choose the LSPs on which you want to run the optimizer and click Next.

It sets the loadshare setting between the selected parallel LSPs in the network. Parallel LSPs are those with the same source and destination nodes. By default, none of the LSPs are selected. However, you can also choose a subset or all the LSPs to optimize for load sharing purposes.

The optimizer does not set a loadshare value of 0 on LSPs.

Step 3

Choose the interfaces on which you want to drive down utilization and click Next.

  • If you select all the interfaces, the optimizer uses all interfaces in the network model.

  • Choose only those interfaces of interest on which to drive down the maximum utilization.

Step 4

Specify the relevant optimization settings. For field descriptions, refer to LSP loadshare optimization settings.

Figure 5. LSP loadshare optimization options
LSP loadshare optimization options

Step 5

Select which traffic level to optimize.

Step 6

(Optional) In the Tag changed LSPs field, override the defaults for how LSPs are tagged (LSPLoadshare).

Step 7

On the Run Settings page, choose whether to execute the task now or schedule it for a later time. Choose one of these Execute options:

  • Now: Choose this option to execute the job immediately. The tool runs and changes are applied to the network model immediately. A summary report appears. You can access the report any time later using Actions > Reports > Generated reports option.

  • As a scheduled job: Choose this option to execute the task as an asynchronous job. Set these options:

    • Priority: Select the priority of the task.

    • Engine profiles: Select the engine profile as needed. This section lists all the available asynchronous engine profiles.

    • Schedule: Set the time at which you want to run the tool.

    The tool runs at the scheduled time using the selected engine profile. You can track the status of the job at any time using the Job Manager page (from the main menu, choose Job Manager). Once the job completes, import the output plan file into user space to visualize it. For more information, refer to Access output plan files from job manager.

    Note

     
    Ensure that you save the plan file before you schedule the job. Any unsaved changes in the plan file are not considered when you run the tool as a scheduled job.

Step 8

(Optional) If you want to display the result in a new plan file, specify a name for the new plan file in the Display results section.

In the previous step:
  • If you have selected to run the task immediately, by default, the changes are applied on the current plan file. If you want to display the results in a new file, select the Display results in a new plan file check box and enter the name of the new plan file.

  • If you have scheduled the task to run at a later time, by default, the results are displayed in the Plan-file-1. Update the name, if required.

Step 9

Click Submit.


LSP loadshare optimization settings

This table describes the available parameters for LSP loadshare optimization which controls how traffic is distributed among LSPs.
Table 1. LSP loadshare optimization settings

Field

Description

Minimize max interface util

Minimizes the maximum interface utilization over all interfaces on the LSP routes. Cisco Crosswork Planning tries to minimize the number of loadshare parameter changes required to do so.

Minimize number of interfaces with util >___%

Minimizes the number of interfaces that have a utilization greater than the specified value. This is a looser constraint than minimizing the maximum interface utilization. Therefore, Cisco Crosswork Planning has the opportunity to modify as few loadshare values as possible, thus reducing the amount of reconfiguration required.

Number of flow bins

Routers typically cannot divide flows arbitrarily between parallel LSPs, but instead allocate them to a fixed number of “bins” of approximately equal size. The bins are then divided between the parallel LSPs. This option lets you specify the total number of bins, which in turns places a constraint on the traffic division.

Traffic level

Specifies the traffic level to use in the optimization.

Tag changed LSPs

Specifies a tag for any changed LSPs. By default, the optimizer tags upgraded circuits with the label LSPLoadshare.

Minimization strategies for interface utilization

This is an example to apply minimization strategies and adjust Loadshare parameters to a sample plan file. The tags are applied on the optimized LSPs only, resulting in lower interface utilization and an updated plan file for further analysis.

The base plan for this example, Acme_Network, contains two sets of parallel LSPs, each with a Loadshare value of 1 and each using strict hops on named paths to reach its destination. All of these LSPs have a Traff sim of 3000 Mbps. The interfaces to which these LSPs filter all have a Traff sim value of 3000 Mbps, except for sjc-to-okc, which has 6000 Mbps of simulated traffic (Example Acme network before LSP loadshare optimization).

Using the Acme_Network plan file, if you minimize the maximum interface utilization across all LSPs, all four Loadshare parameters change, and the maximum interface utilization is 40% (Example Acme network after minimizing maximum interface utilization). The default LSP tags are used, thus naming the tags as LSPLoadshare. If you select the Display results in a new plan file option, then a new plan file Plan-file-1.pln is created by default.

Figure 6. Example Acme network before LSP loadshare optimization
Example network before LSP loadshare optimization
Figure 7. Example Acme network after minimizing maximum interface utilization

Traffic allocation minimization for LSP bins

This example describes how traffic allocation minimization uses bins to approximate optimal splits when a node must route traffic over multiple LSPs.
In this example, consider a node that uses a maximum of 32 bins, and the optimal traffic allocation is 45% of the traffic through LSP A and 55% of the traffic through LSP B. The node that sources these two LSPs, however, cannot do this exact split.

The optimization divides the traffic into 32 bins, each with the same amount of traffic in them. So, each bin has 3.125% of the traffic (100% of the traffic divided by 32). The optimization also determines how the node should split the traffic. In this case, the split is to give 43.75% (which is 14 bins of 3.125% each) to LSP A and 56.25% (which is 18 bins of 3.125% each) to LSP B. Thus, it optimizes and distributes 32 (14+18) bins of traffic. This is as close as possible to the optimal 45%/55% split using 32 bins.

LSP setup bandwidth optimization

As a network operator, you may need to periodically update LSPs as traffic changes in your network. You may have some fixed rules around the maximum setup bandwidth for LSPs. Restrictions on the setup bandwidth per LSP affect the number of LSPs in the network. As the setup bandwidth increases, the number of LSPs that you have to manage in your network is reduced. However, the risk that certain LSPs cannot be routed also increases. As the setup bandwidth decreases, more alternative paths can be found, allowing for better load balancing. This holds true both in the fail-free and under failures cases.

To address these LSP setup bandwidth requirements, Cisco Crosswork Planning includes an LSP setup BW optimization tool (Actions > Tools > RSVP LSP Optimization > LSP setup BW optimization).

Run LSP setup bandwidth optimization

Use this task to optimize the number and configuration of LSPs in your network to match set bandwidth goals.

The LSP setup BW optimization tool lets you add or remove LSPs based on set bandwidth requirements that you specify. You can select the LSPs that you want the optimizer to consider. The optimizer then separates these LSPs into different groups. The optimizer defines an LSP group based on the fact that the LSPs within the group share common source and destination nodes. You can also specify additional custom groupings to get a finer granularity on the setup bandwidth.

The optimizer lets you create LSPs by specifying:

  • The number of LSPs to create for each LSP group.

  • The maximum setup bandwidth per LSP. In this case, the minimum number of LSPs is created for each group in order to meet this requirement.

Additionally, the optimizer lets you remove LSPs by specifying:

  • The number of LSPs to remove for each group.

  • The minimum setup bandwidth per LSP. In this case, the minimum number of LSPs is removed from each group in order to meet this requirement.

You can then perform different operations on each group to test different design scenarios.


Note


The sum of the setup bandwidth of the LSPs per group is not modified by adding or removing LSPs. The setup bandwidth is evenly redistributed among the LSPs within each LSP group.

Procedure


Step 1

Open the plan file (refer to Open plan files). It opens in the Network Design page.

Step 2

From the toolbar, choose any of the these options:

  • Actions > Tools > RSVP LSP optimization > LSP setup BW optimization

    OR

  • Preset workflows > Perform optimization , select RSVP LSP Optimization as the optimization type, choose LSP setup BW optimization from the drop-down list, and click Launch.

Step 3

Choose the LSPs you want the optimizer to consider. By default, none of the LSPs are selected.

Step 4

In the LSP groups section, choose the manner in which LSPs are separated into LSP groups:

Figure 8. LSP setup bw optimization options
SP setup bandwidth optimization options
  • Source/Destination nodes: LSPs with a common source and destination belong in the same group.

  • Source/Destination nodes and existing SetupBWOpt::Group entries: LSPs with a common source and destination and common SetupBWOpt::Group entries belong in the same group. This option is useful when you want to group LSPs based on different service classes.

Step 5

In the For each LSP group section, provide your setup bandwidth requirements for each LSP group:

  • Create x LSPs: Enter a positive integer. The optimizer creates a certain number of LSPs per group; for example, 1.

  • Create the minimum number of LSPs so that setup BW <= x Mbps: Specify the minimum number of LSPs to meet your setup bandwidth rule. For example, the bandwidth rule could be 10000 Mbps.

  • Remove x LSPs: Enter a positive integer. The optimizer removes a certain number of LSPs per group; for example, 1.

  • Remove the minimum number of LSPs so that setup BW >= x Mbps: Specify the removal of the minimum number of LSPs to meet your setup bandwidth rule; for example, 10000 Mbps.

Step 6

(Optional) In the Tag updated LSPs with field, override the defaults for how LSPs are tagged ( SetupBWOpt).

Step 7

On the Run Settings page, choose whether to execute the task now or schedule it for a later time. Choose one of these Execute options:

  • Now: Choose this option to execute the job immediately. The tool runs and changes are applied to the network model immediately. A summary report appears. You can access the report any time later using Actions > Reports > Generated reports option.

  • As a scheduled job: Choose this option to execute the task as an asynchronous job. Set these options:

    • Priority: Select the priority of the task.

    • Engine profiles: Select the engine profile as needed. This section lists all the available asynchronous engine profiles.

    • Schedule: Set the time at which you want to run the tool.

    The tool runs at the scheduled time using the selected engine profile. You can track the status of the job at any time using the Job Manager page (from the main menu, choose Job Manager). Once the job completes, import the output plan file into user space to visualize it. For more information, refer to Access output plan files from job manager.

    Note

     
    Ensure that you save the plan file before you schedule the job. Any unsaved changes in the plan file are not considered when you run the tool as a scheduled job.

Step 8

(Optional) If you want to display the result in a new plan file, specify a name for the new plan file in the Display results section.

In the previous step:
  • If you have selected to run the task immediately, by default, the changes are applied on the current plan file. If you want to display the results in a new file, select the Display results in a new plan file check box and enter the name of the new plan file.

  • If you have scheduled the task to run at a later time, by default, the results are displayed in the Plan-file-1. Update the name, if required.

Step 9

Click Next.


What to do next

Refer to the LSP setup BW optimization report.

LSP setup BW optimization report

The LSP Setup BW Optimization tool automatically generates a report every time it is run. You can access this information at any time by choosing Actions > Reports > Generated reports and then clicking the LSP Setup BW Optimization link in the right panel.

The report contains these two tabs:

Summary

The Summary tab summarizes the total number of

  • LSPs you selected

  • LSP groups identified

  • LSPs created

  • LSPs removed

LSP groups

The LSP groups tab provides the details on how the optimizer operated on LSPs:

  • Group: Name of the LSP group as specified by SetupBWOpt::Group. If this group is not specified, the Group column is empty

  • LSP Source: Source node of the LSP group

  • LSP Destination: Destination node of the LSP group

  • Total Setup BW: Sum of the setup bandwidth values of the LSPs within the LSP group

  • LSP Number Before: Number of LSPs within the LSP group before running the optimization

  • LSP Number After: Number of LSPs within the LSP group after the optimization

  • LSP Setup BW Before: Average setup bandwidth within the LSP group before the optimization

  • LSP Setup BW After: Setup bandwidth within the LSP group after the optimization