Optimize SR-TE
You can use the SR-TE optimization tool (Actions > Tools > SR LSP optimization > SR-TE optimization) to design, capacity plan, and manually configure networks to meet the following objectives. This tool supports both Inter-Area and Inter-AS functionalities.
-
TE Metric or Delay Minimization—Minimize distance between hops with respect to metrics other than IGP metrics. These can be either TE metrics configured on interfaces (which can be set proportional to circuit latency) or latencies (delays) for each circuit. An example application is a differentiated service in which latency-sensitive network traffic is routed on shortest latency paths, while the bulk of the traffic routes over cost-optimized paths.
-
Avoidance—Create or optimize segment lists so they avoid routing through specified objects (nodes, interfaces, or SRLGs). An example application is routing pairs of LSPs, each over a different plane in a dual-plane network. The same traffic is routed over both LSPs simultaneously, thus improving availability.
While there is an option to specify a maximum number of hops, doing so might not achieve the lowest possible latency. In this case, the best achievable solution is provided.
You can additionally avoid unnecessary LSP churn by specifying boundaries (bounds) on the path length and margins within which the shortest path must be optimized.
Note
Unless qualified with “TE” or “IGP,” the term metric in this chapter applies to IGP metric, TE metric, or delay.
Specify Inputs for SR-TE Optimization
Optimize the Path Metric
The Minimize path metric section defines whether to optimize SR LSPs based on interface IGP metrics, interface TE metrics, or circuit delays. This minimization is for the sum of the metrics along the path. Note that for inter-AS SR LSPs, these metrics are calculated end-to-end for the LSP, not per AS. These properties are configurable from the Edit Interface window, and delays can also be set in the Edit Circuit window.
Bound and Margin
Bounds and margins identify which paths to optimize, as well as when to stop optimizing a given path. If you enter a value for more than one restriction, Cisco Crosswork Planning uses the strictest limitation as the optimization target. If there is no bound or margin specified, Cisco Crosswork Planning optimizes LSP paths to the best possible solution (lowest total metrics for the LSP path).
Bound: Maximum Acceptable Path Length
The Fixed Bound entry in the Bound on path length section lets you set the maximum path metric that is acceptable. Cisco Crosswork Planning tries to optimize LSP paths with metrics that exceed this bound. If a solution adhering to this bound cannot be found, the best possible solution is provided and bound violations are listed in the report. LSP paths that are less than or equal to this bound are not optimized.
Example: If you select to optimize LSP paths based on TE metrics, the value entered is 50, and the sum of TE metrics on the LSP path is 51, that LSP path is optimized.
Enter a number based on the selected path metric. A TE metric is a property values whose total sum for the LSP path cannot be exceeded. The delay is also a property value, but it is in milliseconds (ms). If you enter “50” and you have selected delay as the metric to optimize, this represents 50 ms as the maximum acceptable delay for the LSP path.
Margin: Maximum Acceptable Metric Above Shortest Path
The Margin entries let you identify the acceptable deviation above the shortest achievable path metric. Any existing LSP path with a metric that is less than or equal to the shortest path metric plus the margin is not optimized.
-
Fixed—The amount by which a metric must be surpassed before it is optimized.
Example: If an SR LSP route has a delay of 110, a fixed margin set to 10, and the shortest achievable delay path is 100, the current SR LSP is within the margin and will not be updated. If the fixed margin is set to 9, the SR LSP would be optimized.
100 (shortest path) + 10 (fixed margin) = 110, so all paths greater than 110 are optimized.
-
Percentage—The amount by which a metric must be surpassed, expressed as a percentage of the shortest path, before it is optimized.
Example: If an existing SR LSP route has a TE metric of 210, a percentage margin set to 10%, and the shortest achievable TE metric path is 200, the current SR LSP is within the margin and will not be updated. If the current SR LSP had a metric of 225, it would be optimized.
200 (shortest path) x .10 (percentage margin) = 20, so all paths greater than 220 must be optimized
Example: If an SR LSP route has a delay of 110, a fixed bound is set to 120, a fixed margin is set to 15, a percentage margin is set to 5%, and the shortest achievable delay path is 100, the strictest of these restrictions takes precedence, and the SR LSP is optimized.
Fixed Bound = 120
100 (shortest path) + 15 (fixed margin) = 115
100 (shortest path) x .05 (percentage margin) = 5, so all paths greater than 105 are optimized because it is the strictest margin.
Constraints
The constraints let you specify restrictions for the optimizations.
-
Maximum segment list hops per SR LSP—The maximum number of segment list hops that any given segment list can contain after optimization. If no value is specified, Cisco Crosswork Planning creates as many hops as needed to optimize the SR LSP.
-
Avoid—Do not permit optimized segment lists to route through the selected objects (nodes, interfaces, or SRLGs). This constraint is useful when modeling dual-plane topologies that route disjoint LSPs.
-
Restrict segment node to core nodes—Segment list node hops must be core nodes (nodes that have their Function property set to “core”), and the local node of segment list interface hops must be a core node. An SR LSP could still route using edge nodes if they are not used as hops.
Run SR-TE Optimization
Procedure
|
Step 1 |
Open the plan file (see Open Plan Files). The plan file opens in the Network Design page. |
||
|
Step 2 |
From the toolbar, choose any of the following options:
|
||
|
Step 3 |
Choose the LSPs you want the optimizer to consider. |
||
|
Step 4 |
Click Next. |
||
|
Step 5 |
In the Minimize path metric section, choose whether to optimize SR LSPs based on interface IGP metrics, interface TE metrics, or circuit delays. For more information, see Optimize the Path Metric. |
||
|
Step 6 |
In the Bound on path length and Margin above shortest path sections, specify the values as per your requirement. For more information, see Bound and Margin. |
||
|
Step 7 |
In the Constraints section, specify any restrictions for optimization. For more information, see Constraints. |
||
|
Step 8 |
Click Next. |
||
|
Step 9 |
(Optional) In the Tag updated LSPs with field, override the defaults for how LSPs are tagged (SROpt). |
||
|
Step 10 |
On the Run Settings page, choose whether to execute the task now or schedule it for a later time. Choose from the following Execute options:
|
||
|
Step 11 |
(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.
|
||
|
Step 12 |
Click Submit. |
Optimization Report
Upon completion, Cisco Crosswork Planning writes a report containing the results of the optimization, as well as verifications that the results met the criteria for avoiding nodes and meeting the specified bounds. To access this information later, choose Actions > Reports > Generated reports and click the Segment Route TE Optimization report link in the right panel.
Feedback