Course contents

Unit 2: Advanced OMP and TLOCLesson 2.8 (7 of 8 in this unit)12 of 63 in the Advanced Cisco SD-WAN course

OMP path limits and backup paths

Learn what the send path limit, the equal-cost limit and send-backup-paths each cap, work out how many paths a branch receives and installs, and settle the order of policy and limit with a lab test.

Advanced · 22 min read

You'll learn to explain what the send path limit, the equal-cost limit and send-backup-paths each cap, work out how many paths a branch receives and installs for a given design, and use a lab test to settle the order of the outbound policy and the limit on a given release.

Technical definition

OMP path limit is a cap on how many paths for one prefix OMP passes on or uses. The send path limit caps the paths that a router advertises to a Controller, or that a Controller advertises to an edge router. The equal-cost limit caps how many of the received paths an edge router installs for forwarding. A prefix with more paths than the lower of the two limits has paths that are not used.

Two limits, two jobs

A prefix in the overlay has one path for each TLOC of each router that advertises it. A data-centre prefix that two hubs advertise, each with two transports, has four paths. Two settings decide how many of those paths matter. The send path limit caps how many are advertised, and the equal-cost limit caps how many an edge router then installs. They sit on different devices and have separate defaults, and a design that wants every path to carry traffic needs both to allow it.

Diagram
Advertise a path, then install it
Advertise a path, then install it

The send path limit decides how many paths for a prefix are advertised. The equal-cost limit decides how many of the received paths an edge router installs. A path has to pass both.

Send path limithow many pathsare advertised
Equal-cost limithow many receivedpaths are installed
The smaller of the two limits is the number of paths that can carry traffic.
Diagram
The two settings
The two settings
SettingWhere it is setDefaultRangeWhat it caps
Send path limit (command send-path-limit; Manager name Paths Advertised Per Prefix)On a Controller, and on an edge toward a Controller41 to 16 on most networks; 1 to 32 on a Controller in a hierarchical design from 20.8.xPaths advertised for one prefix
Equal-cost limit (command ecmp-limit; Manager name ECMP limit)On an edge router41 to 16Paths installed from those received
Defaults and the range of 1 to 16 are from the Cisco routing guide for releases 26.x and later; the wording on what the send path limit caps, the 1 to 32 range and the 2022 date are from Cisco document 218089, tested with Controllers on 20.6.3. Document 216012 (September 2020) gives the same default of 4 for installed paths. No page read states in one sentence that the Manager name and the command are the same setting, so that mapping is read from the context.

Eight paths, four seen

Cisco document 216012 describes a spoke that should load-share over two hubs and does not. Each hub has four transports, so a prefix advertised by both hubs has eight paths. The spoke received four, all from one hub. No policy was involved. The Controller was running with its default send path limit of 4, so it advertised four of the eight paths, and the edge by default installs only four. The note raised the send path limit and the equal-cost limit to 8 on the Controller and the edge. The note does not say why the first hub was the one that fitted; the lowest-System-IP step of the ranking, covered in the lesson on OMP state, is consistent with it.

Diagram
From eight paths to installed paths
From eight paths to installed paths

Eight equal paths exist for the prefix. The Controller ranks them, with the lowest System IP first. It advertises the first paths up to the send path limit. The edge installs the first of those up to the equal-cost limit.

  1. Candidates8 equal paths,2 hubs x 4 TLOCs
  2. Rankedlowest System IPcomes first
  3. Advertisedfirst paths, up tothe send path limit
  4. Installedfirst paths, up tothe equal-cost limit
Each limit cuts the list that the previous step produced.
Diagram
What a branch receives and installs (computed)
What a branch receives and installs (computed)
DesignSend path limitEqual-cost limitReceivedInstalledHubs carrying traffic
2 hubs, 2 transports each2422HUB-01 only
2 hubs, 2 transports each4444HUB-01 and HUB-02
2 hubs, 4 transports each4444HUB-01 only
2 hubs, 4 transports each8484HUB-01 only
2 hubs, 4 transports each8888HUB-01 and HUB-02
2 hubs, 4 transports each161688HUB-01 and HUB-02
Computed by script for two hubs. Assumptions: every path is equal through the preference steps, HUB-01 (10.255.1.1) ranks before HUB-02 (10.255.1.2) on the lowest System IP, each limit keeps the first paths of the order, and the edge installs from the top of what it received. The last assumption is not stated in the notes. The four-transport rows follow the Cisco note; the two-transport rows are the course lab.

The result in the note was active and standby rather than load sharing: if the first hub's default route is lost, the spoke installs the other hub's route. Nothing is misconfigured when this happens, and every path is healthy. Two defaults that look harmless add up to a design that is not the one intended.

Reading both limits on the devices

Four views cover the whole chain. The configuration on the Controller shows the send path limit. The advertised view on the Controller shows how many paths were sent to one edge. The routing table at the edge shows what was installed. The example uses the course lab with a send path limit of 2, a value chosen for the example, so that the effect shows with two transports per hub.

Diagram
Where each limit shows up
Where each limit shows up

The Controller configuration shows the send path limit. The advertised view on the Controller shows the paths sent to one edge. The OMP table at the edge shows the paths received, and the routing table shows what is installed.

  1. Controller configurationsend path limit,backup setting
  2. Controller advertised viewpaths sent toone edge
  3. Edge OMP tablepaths receivedand their codes
  4. Edge routing tablenext hops installedin the VRF
Read from the Controller toward the edge; the count falls at the limit that is too low.
Example output written for this lesson, simplified; real output has more fields and a different layout
Controller#show running-config omp | details
omp
 no shutdown
 send-path-limit 2
 no send-backup-paths
 graceful-restart
The send path limit is 2 for this example, and the backup setting is off. The default is 4, so a value of 2 would be an unusual choice in production. The lines of the real output that are not about paths are left out.
Example output written for this lesson, simplified; real output has more fields and a different layout
Controller#show omp routes vpn 10 10.20.1.0/24 advertised
TO PEER      PATH ID  TLOC IP     COLOR
10.255.2.2   1        10.255.1.1  mpls
10.255.2.2   2        10.255.1.1  biz-internet
Two paths went to BR-02, and both belong to HUB-01. HUB-02 also advertises 10.20.1.0/24 and has two paths on the Controller, but the limit of 2 was filled by HUB-01, which ranks first on the lowest System IP. BR-02 has no path through HUB-02 to fall back on.
Example output written for this lesson, simplified; real output has more fields and a different layout
BR-02#show ip route vrf 10 10.20.1.0
Routing entry for 10.20.1.0/24
  Known via "omp", distance 251, metric 0, type omp
  Routing Descriptor Blocks:
  * 10.255.1.2 (default), from 10.255.1.2, 00:03:12 ago, via Sdwan_system_ip
      Route metric is 0, traffic share count is 1
  * 10.255.1.1 (default), from 10.255.1.1, 00:03:12 ago, via Sdwan_system_ip
      Route metric is 0, traffic share count is 1
This is the view after the send path limit is returned to 4. The routing table has two next hops, one for each hub. In the Cisco note's output the routing table lists one next hop for each remote System IP, even when several OMP paths exist to it, so the OMP table is where the paths for each TLOC are counted.

Backup paths: the first route that is not best

By default OMP advertises only the best route or routes of a prefix. The Controller setting send-backup-paths adds the first route that is not best, so an edge receives one more route than the best set. The Cisco note that describes it says the setting is for Controllers only. Without it, a route that ranks below the best set is not advertised to the edge at all.

Diagram
Best routes only, or best plus one
Best routes only, or best plus one

By default the Controller advertises the best route or routes. With send-backup-paths it also advertises the first route that is not best.

Defaultthe best routeor routes only
send-backup-pathsbest routes plusthe first non-best
The extra route is one route, not the whole list of lower-ranked routes.
Diagram
Routes advertised to BR-02 (computed)
Routes advertised to BR-02 (computed)
SettingRoutes advertised to BR-02Why
Backup setting off, send path limit 42: both HUB-01 routesOnly the best routes go, and HUB-01 has preference 200 against 100
Backup setting on, send path limit 43: both HUB-01 routes and one HUB-02 routeThe first route that is not best is added
Backup setting on, send path limit 2Not statedThe notes read do not say whether the backup route counts against the limit
Computed by counting for the prefix 10.20.1.0/24 with two HUB-01 routes at preference 200 and two HUB-02 routes at preference 100, and the best set taken as the routes tied at the top. Which HUB-02 route comes first follows the ranking steps. The preference values are assumptions for the example.
Diagram
When the best route is lost
When the best route is lost

The best route to the prefix is lost. Without the backup setting, the edge waits for the Controller to send a new route. With it, the edge already holds a received route that is not best.

  1. Best lostcontrol connectionor tunnel fails
  2. Withoutwait for a newroute from the Controller
  3. Witha non-best routeis already received
How an edge uses the extra route is not stated in the notes read; the codes at the edge show it.

A failover that lost the default route

Cisco document 218089, a lab on Controllers at 20.6.3 and edges at 17.6.3, shows both settings in a single failure. Two data centres advertise a default route. The Controller prefers one of them, and an outbound control policy rejects the other data centre's default route toward a cloud edge, so the cloud edge sees only the preferred data centre. When the preferred data centre loses its internet transport, its control connections drop and the Controller marks its routes stale. The cloud edge then loses its default route, although the other data centre is healthy.

Diagram
Why the cloud edge lost its default route
Why the cloud edge lost its default route

The Controller marks the routes of the failed data centre as stale. It chooses the best routes up to the send path limit, and stale routes are not chosen while others exist, so the chosen routes belong to the other data centre. The outbound policy rejects those, and nothing is left to send.

  1. Transport failscontrol connectionsto one site drop
  2. Staleits routes are heldand marked stale
  3. Chosenbest routes, up tothe limit of 4
  4. Rejectedpolicy removesthe other site
  5. Nothing sentno default routeat the cloud edge
Steps follow the explanation in Cisco document 218089, restated in the words of this lesson.

The note's fix has two parts. The send path limit goes to 16, which is above the six non-stale routes that the other data centre has, and send-backup-paths is switched on. The first part gives the stale routes a place in the list. The second advertises a route that is not best. The table counts the slots in the note's lab, where the received view lists twelve routes, six non-stale and six stale.

Diagram
Room for stale routes in the note's lab (computed)
Room for stale routes in the note's lab (computed)
SettingNon-stale routes chosenSlots left for stale routes
Send path limit 4 (the default)40
Send path limit 660
Send path limit 761
Send path limit 1266
Send path limit 1666
Computed by script as the smaller of the limit and the twelve routes listed, minus the six non-stale routes. The count assumes that non-stale routes take slots first, as the note states for the best routes, and that stale routes take what remains. The note states that the limit needs to be greater than six.
Diagram
Three ways a policy can hide the last route
Three ways a policy can hide the last route

A limit that is too low lets the preferred routes fill the list. A policy that rejects the remaining routes leaves nothing to send. A missing backup setting means the non-best route is not advertised.

No route at the edge
  • Limit too lowthe list is filledbefore stale routes
  • Policy rejectsthe routes thatare chosen
  • No backupthe non-best routeis not sent
The fix in the note touches the first and the third.

Two notes, two orders

The failover note reads as though the limit is applied first and the outbound policy second. The troubleshooting document used in the earlier lessons says the opposite: the outbound policy is step 10 of its order, the send path limit is step 11, and routes that the policy rejects are removed before the limit is enforced. Both are Cisco documents. They were written at different times and tested on different releases, and this lesson does not decide between them.

Diagram
Policy first or limit first
Policy first or limit first

Document 217479, revised in April 2026, lists the outbound policy before the send path limit. Document 218089, from 2022, describes the best routes chosen up to the limit and then rejected by the policy in its failover case.

Document 217479policy first,then the limit
Document 218089limit first inthe failover case
The difference matters when a policy rejects the routes that would fill the limit.
Diagram
What each note says
What each note says
NoteDate and softwareOn the order
217479Revision 4.0, 28 April 2026; Controllers on 20.4.1 and 20.6.1Outbound policy is step 10 and the send path limit is step 11; rejected routes are removed before the limit is enforced
218089Updated 30 August 2022; Controllers on 20.6.3, edges on 17.6.3The best routes are chosen up to the limit of 4, stale routes are not chosen while others exist, and the outbound policy then rejects the chosen routes
Between themNot reconciledNeither note explains the other, and neither reading explains every detail of the fix, so a test on the release in use is the way to know
Summaries in the words of this lesson. The two notes can describe different cases, such as different handling of stale routes, so the difference may not be a contradiction on every release.

A lab test settles it for a release. It uses two hubs and a test edge, a send path limit of 1, and an outbound policy toward the test edge that rejects the routes of the hub with the lowest System IP. The question is what the test edge receives for a prefix that both hubs advertise.

Diagram
A test that settles the order
A test that settles the order

Set the send path limit to 1 on a lab Controller. Apply an outbound policy toward one test edge that rejects the routes of HUB-01, which has the lowest System IP. Read the advertised view for the test edge and compare.

  1. Limit 1send path limitset to 1
  2. Rejectoutbound policyrejects HUB-01
  3. Readadvertised viewfor the test edge
  4. Comparewhich routesarrived
Run it on a lab Controller or in a change window, then restore the limit and remove the test policy.
Diagram
Reading the result of the test
Reading the result of the test
What the test edge receivesReading
A HUB-02 routeThe policy runs before the limit: the rejected HUB-01 routes were removed and the limit of 1 was filled by HUB-02
No route for the prefixThe limit runs first: HUB-01 filled the limit of 1 and the policy then removed it
A HUB-01 routeThe policy did not match; check the site list, the direction and the sequence
Method based on the lab in Cisco document 217479, which used a limit of 1 and then 16. The outcomes are the consequences of each reading, not output captured from a device.

Choosing values

The limits are best set from the design and then confirmed with the views above. The send path limit has to cover the paths that the design means to use: the hubs times the transports, for a prefix that all hubs advertise. The equal-cost limit at the edge has to be at least as high if traffic should use all of them. Route state grows with the limit, which the lesson on OMP state counts, so a limit larger than the design needs only adds entries.

Diagram
Three decisions for the limits
Three decisions for the limits

Set the send path limit to the paths the design needs. Keep the equal-cost limit in step with it where traffic should use every path. Add the backup setting where a policy hides the preferred routes from some edges.

Path limits
  • Send path limithubs x transports,within the range
  • Equal-cost limitat least as highat the edges
  • Backup settingwhere a policyhides routes
Each decision has its own check in the views above.
Diagram
Limit needed to advertise every path (computed)
Limit needed to advertise every path (computed)
DesignPaths per prefixLimit neededEntries at one edge for 50 prefixes
2 hubs, 2 transports each44200
2 hubs, 4 transports each88400
3 hubs, 4 transports each1212600
4 hubs, 4 transports each1616800
5 hubs, 4 transports each2016 (range ends; 4 paths are not advertised)800
Computed by script as hubs times transports, with the limit capped at 16 and entries counted as 50 prefixes times the paths advertised. The 50 prefixes and the equal paths are assumptions for the example, and the range of 1 to 16 applies to most networks according to the 2022 note.

Learn more: OMP State and Update ProcessingRoute Policy, Summarization and PreferenceBest-Path SelectionDeep OMP Troubleshooting

Test yourself

Predict · scenario 1

Which defaults does the Cisco routing guide for releases 26.x and later give for the equal-cost limit and the paths advertised per prefix?

Predict · scenario 2

Two hubs each have four transports and advertise the same prefix. The send path limit is 4 and the equal-cost limit is 8 at the branch. What does the branch receive?

Predict · scenario 3

The send path limit is 8 and the equal-cost limit is 4. Two hubs have four transports each. How many paths does the branch receive and install?

Predict · scenario 4

What does send-backup-paths add, according to the Cisco note read?

Predict · scenario 5

In the failover described in Cisco document 218089, why did the cloud edge lose its default route?

Predict · scenario 6

Cisco document 217479 and document 218089 appear to give different orders for the outbound policy and the send path limit. What is a sound response?

Predict · scenario 7

Which view shows how many paths the Controller sent to BR-02 for a prefix?

Predict · scenario 8

The Controller advertises 4 paths to an edge and the equal-cost limit at the edge is raised from 4 to 8. What changes?

FAQ

Is the send path limit the same as the equal-cost limit?
No. The send path limit caps how many paths are advertised for a prefix, by an edge to a Controller or by a Controller to an edge. The equal-cost limit caps how many of the received paths an edge installs. A prefix can pass the first and be cut by the second, so both have to allow the number of paths wanted.
What are the defaults?
The Cisco routing guide for releases 26.x and later gives 4 for the equal-cost limit and 4 for the paths advertised per prefix, each with a range of 1 to 16. A Cisco note from 2022 gives 4 and a range of 1 to 16 for the send path limit on most networks, and 1 to 32 on a Controller in a hierarchical SD-WAN design from 20.8.x. Defaults and ranges can change with the release, so confirm them in the guide for the release in use.
Does send-backup-paths give fast failover?
The Cisco notes read say what the setting advertises, the first route that is not best, and that it runs on a Controller only. They do not say how an edge router uses that route, so the speed of failover is not a documented property here. The status codes at the edge show whether the extra route is held or installed, and a lab failure shows the timing.
Does the outbound policy run before the send path limit or after it?
Two Cisco notes read differently. Document 217479, revised in April 2026, lists the policy before the limit and says that rejected routes are removed before the limit is enforced. Document 218089, from 2022, describes a failover in which the best routes are chosen up to the limit and the policy then rejects them. The lesson sets out a lab test that settles it for a given release.
Does a higher limit help?
Not by itself. A higher limit lets more paths reach each edge, which helps load sharing and failover, and it also raises the number of route entries that every edge holds. The earlier lesson on OMP state has the arithmetic. The limit is best set to the number of paths the design needs, not to the largest value allowed.