Course contents

Unit 2: Advanced OMP and TLOCLesson 2.6 (5 of 8 in this unit)10 of 63 in the Advanced Cisco SD-WAN course

Route policy, summarization and preference

Decide what enters OMP, count the state an aggregate saves, set preference with a control policy, and see why a longer prefix can override a preferred hub.

Advanced · 22 min read

You'll learn to decide which routes enter OMP, count the route state that an aggregate saves, set preference with a control policy on the right kind of route, and predict when a longer prefix overrides a preference.

Technical definition

Route policy in OMP is the set of choices that decide which routes enter the overlay, how many entries they occupy, and which one of several routes carries the traffic. The choices are made at three places: the edge router that advertises into OMP, the aggregate that can replace many prefixes with one, and the control policy on the Controller that accepts, rejects or changes routes.

Four decisions before a route reaches a branch

A prefix on a branch LAN has to pass several decisions before another branch can use it. The edge router has to advertise it into OMP at all. An aggregate can turn it into part of a larger summary. A control policy on the Controller can accept, reject or re-mark it. And a limit on the number of paths decides how many of the remaining routes are sent and installed. Most of the confusing cases in the field come from assuming that one of these four has already happened.

Diagram
Four decisions for a route
Four decisions for a route

A route has to be advertised into OMP, can be summarised by an aggregate, can be accepted or changed by a control policy, and is limited by the number of paths advertised and installed.

A route to a branch LAN
  • Advertiseis it put intoOMP at all?
  • Aggregateis it folded intoa summary?
  • Control policyis it acceptedor changed?
  • Path limitshow many pathsare sent and used?
A fault on one decision cannot be repaired by changing another.

What enters OMP

An edge router learns its LAN prefixes from connected interfaces, static routes or a routing protocol. None of them reaches the overlay until the edge is told to advertise that source. The Cisco routing guide for releases 26.x and later states the defaults, and lists the sources that can be advertised, which include connected, static, BGP, OSPF, EIGRP, IS-IS and LISP for IPv4, with equivalents for IPv6.

Diagram
From a LAN prefix to a route in OMP
From a LAN prefix to a route in OMP

The edge learns a prefix locally. It advertises that source into OMP, because none is advertised by default. An aggregate can summarise the prefix. The Controller then applies its control policy before other sites see the route.

  1. Learnconnected, staticor a protocol
  2. Advertiseswitched onper source
  3. Aggregateoptionalsummary
  4. Control policyaccept, rejector change
Each stage is a separate switch.
Diagram
Sources and their defaults (releases 26.x and later)
Sources and their defaults (releases 26.x and later)
Source of the prefixAdvertised into OMP by default?What to check when the route is missing
Connected interfaceNoWhether advertising connected routes is switched on for the VPN
Static routeNoWhether advertising static routes is switched on for the VPN
BGPNoWhether advertising BGP is switched on, and the OMP preference that results
OSPF externalNoWhether advertising OSPF is switched on and which route types it covers
Defaults as stated in the Cisco Catalyst SD-WAN Routing Configuration Guide for releases 26.x and later (updated April 2026). Earlier releases and platforms were not checked. For BGP routes, the guide describes an automatic translation of the AS path into an OMP preference that starts at 255 and falls by one per AS; whether the count begins at zero or one is not stated.

Summarization with an aggregate

A network with hundreds of sites, each advertising dozens of prefixes, fills every Controller table and every edge table with entries. An aggregate trades detail for size: one summary prefix stands for many specific ones. The Cisco guide on route aggregation in Multi-Region Fabric describes how the feature behaves, and its rules are simple enough to learn exactly.

Diagram
Default aggregate against aggregate-only
Default aggregate against aggregate-only

By default, an aggregating router advertises each specific route and also the summary prefix. With the aggregate-only option it advertises the summary alone, so the Controller holds one entry instead of many.

Defaultspecifics andthe summary
Aggregate-onlythe summaryalone
The aggregate saves state only with aggregate-only.
Diagram
What the Cisco guide says about aggregation
What the Cisco guide says about aggregation
TopicAs the guide describes itRelease or platform
PurposeFewer entries for routers to maintainIOS XE Catalyst SD-WAN, Multi-Region Fabric guide
Default advertisementEach individual route and the summary prefixSame guide
aggregate-onlyOnly the summary prefix is advertisedSame guide
ConditionThe aggregate is advertised only while a component route inside the range existsSame guide
Border router syntaxadvertise aggregate with a prefix, optional aggregate-only and an optional region of core or accessBorder routers and transport gateways from IOS XE 17.11.1a with Control Components 20.11.x
Earlier releasesAggregation covered OMP routes on edge routers in access regions of the fabricBefore 17.11.1a
Not confirmedVerification commands, outputs, behaviour when specifics fail beyond the condition, and support outside Multi-Region FabricNot on the page read
From the Cisco Catalyst SD-WAN Multi-Region Fabric Configuration Guide, IOS XE 17.x (updated May 2026), reworded. The guide recommends choosing either region core or region access on a border router. Syntax for a plain edge router was not confirmed.

The saving can be large. Take 998 branch sites, each with 40 contiguous prefixes that one summary covers, and 2 TLOCs per site. The sizes are invented for the model, and the table counts route entries and not OMP messages.

Diagram
Entries from 998 branches, 40 prefixes each, 2 TLOCs (computed, invented sizes)
Entries from 998 branches, 40 prefixes each, 2 TLOCs (computed, invented sizes)
AdvertisementReceived by the ControllerSeen by one branch
Specifics only79,84079,760
Specifics and the summary (the default)81,83681,754
Summary only (aggregate-only)1,9961,994
Computed by script as sites times prefixes times TLOCs. One branch sees the routes of the other 997. The aggregate-only row is 2.5 percent of the specifics-only row, a saving of 97.5 percent. Sizes are invented, and real limits come from the platform datasheet and release notes.

The condition in the guide has a consequence that the guide does not spell out. The aggregate is advertised while any component remains, so it keeps attracting traffic for components that have gone. The quiet blackholes lesson shows the same pattern for a summary that outlives its specifics.

Diagram
An aggregate that outlives its components
An aggregate that outlives its components

With all 40 components present, the aggregate is advertised and every network behind it is live. With 20 gone, the aggregate is still advertised and traffic for 20 networks is sent and dropped. With 1 left, 39 networks are covered but gone. With none left, the aggregate is withdrawn.

  1. 40 componentsAggregate advertisedNo dead networks covered
  2. 20 componentsAggregate still advertised20 dead networks attract traffic
  3. 1 componentAggregate still advertised39 dead networks attract traffic
  4. 0 componentsAggregate withdrawnNothing is covered
The condition protects against an empty summary and not against a partial one.
Diagram
How many dead networks an aggregate of 40 covers (computed)
How many dead networks an aggregate of 40 covers (computed)
Components still presentAggregate advertised?Networks gone but still covered
40Yes0
20Yes20
1Yes39
0No0
Computed from the rule that the aggregate is advertised while at least one component exists. The last column follows from that rule and is not a statement in the guide. Where the specifics are also advertised, remote sites withdraw their routes for the gone networks, but the aggregate still matches them.

Preference set by a control policy

Best-path selection compares preferences, but someone has to set them. Two Cisco technical notes show the two usual ways. One matches routes on the Controller and sets a route preference. The other builds a TLOC list with a preference for each hub TLOC and sets it on the routes. Both are applied to a site list, and the direction of the policy decides which sites see the effect.

Diagram
Two ways to prefer one hub
Two ways to prefer one hub

A control policy can match the routes that a hub originates and set a route preference, for example 200 against the default of 100. Or it can set a TLOC list in which the active hub's TLOCs carry a higher TLOC preference, for example 1,000 against 500.

Route preferencematch the hub's routes,set 200 against 100
TLOC listTLOC preference1,000 against 500
Route preference works on routes. A TLOC list works on the transports that the routes point to.
Diagram
What the two Cisco notes configure
What the two Cisco notes configure
NoteMechanismWhere it is appliedRelease in the lab
Preferred default route or prefixMatch a route by originator and prefix list, accept, set preference 200; a backup hub gets 150; the default preference is 100Outbound to one site list, or inbound from the originating site so every remote site is affectedcEdge 17.3.3, vEdge 20.3.2, Controller 20.4.2
Active and standby hub-and-spokeA TLOC list with preference 1,000 for the active hub and 500 for the standby, set on the routes by one sequenceOutbound to the branch site listC8000V 17.6.3a, Manager 20.6.3.1, Controller 20.6.3
Reworded from two Cisco technical notes (2022 and 2023). The first note shows a sample with default-action accept while its text says the default action is reject, so read the default action on the device. The second uses a default action of reject, with accept sequences for the hub TLOCs and the routes. Both notes are for the releases listed.
Example output written for this lesson, simplified; real output has more fields and a different layout
Controller#show running-config policy control-policy
policy
 control-policy PREFER-HUB-01
  sequence 1
   match route
    prefix-list DEFAULT-ROUTE
    originator 10.255.1.1
   !
   action accept
    set
     preference 200
    !
   !
  !
  sequence 11
   match route
    prefix-list DEFAULT-ROUTE
    originator 10.255.1.2
   !
   action accept
    set
     preference 150
    !
   !
  !
  default-action accept
 !
!
The shape follows the first Cisco note, with lab values. HUB-01's default route gets preference 200, HUB-02's gets 150 as a backup, and anything else passes unchanged because of the default action. The default action decides what happens to every route that no sequence matches, so it has to be read on the device before the policy is trusted.
Diagram
A limit on what an outbound preference can do
A limit on what an outbound preference can do
SituationWhat the Cisco troubleshooting document saysConsequence
An outbound policy rejects a routeIt is removed before the send path limit is appliedThe limit is filled by the routes that remain
An outbound policy sets a preferenceThe internal candidate order used for the send path limit is not re-rankedA route that missed the limit is not promoted by a higher preference set outbound
A preference is needed to decide which hub is advertisedThe ranking steps run before the outbound policySet the preference where the ranking can see it, on the originating side or by an inbound policy
From Cisco document 217479 (revision 4.0, April 2026), tested on 20.4.1 and 20.6.1. The last row is a conclusion drawn from the first two and is not a statement in the document. Document 218089 (2022) can be read to give the opposite order for one failover case, which the lesson on path limits compares. The policy lesson covers direction in detail.

Paths per prefix

Two numbers cap how many routes for one prefix are used. The first is how many the Controller advertises per prefix, and the second is how many an edge installs. The Cisco routing guide for releases 26.x and later gives a default of 4 for each, with a range of 1 to 16. A branch prefix with two TLOCs has two paths, and a data-centre prefix behind two hubs has four, so the defaults are rarely reached in a small design and often reached in a large one.

Diagram
Two caps on the number of paths
Two caps on the number of paths

The Controller advertises at most the paths-per-prefix limit of routes for a prefix to an edge. The edge installs at most the equal-cost limit of them. A route that is advertised but not installed is received and stays in the table.

  1. AvailableRoutes for one prefix2 for a branch, 4 behind two hubs
  2. AdvertisedAt most the paths-per-prefix limitDefault 4
  3. InstalledAt most the equal-cost limitDefault 4
Raising only one of the two caps changes little.
Diagram
Paths sent and installed (computed)
Paths sent and installed (computed)
Paths available for a prefixAdvertised, limit 2Advertised, limit 4Advertised, limit 16Installed with an equal-cost limit of 4
2 (one site, two TLOCs)2222
4 (two hubs, two TLOCs)2444
8 (four hubs, two TLOCs)2484
Computed by script as the smaller of the paths available and the limit, with the installed count capped at 4 for the last column's advertised limit of 4 or more. With a limit of 16 on 8 paths, 8 are received and 4 are installed. Defaults and ranges are from the routing guide for releases 26.x and later; whether the received paths beyond the equal-cost limit act as backups depends on the release and is covered in a later lesson on path limits.

A worked case: a preference of 200 that does nothing

The network has a data-centre block of 40 networks inside 10.20.0.0/16. HUB-01 is meant to be the primary hub, and an engineer sets route preference 200 on the route that HUB-01 advertises. HUB-01 advertises the aggregate with aggregate-only, which is one prefix. HUB-02, set up earlier, advertises the 40 specific /24 routes at the default preference of 100. After the change, the users at BR-02 still reach the data centre through HUB-02, and the monitoring shows no traffic on HUB-01.

Example output written for this lesson, simplified; real output has more fields and a different layout
BR-02#show sdwan omp routes vpn 10 | include 10.20
VPN  PREFIX         ORIGINATOR  TLOC COLOR    PREF  STATUS
10   10.20.0.0/16   10.255.1.1  mpls          200   C,I,R
10   10.20.0.0/16   10.255.1.1  biz-internet  200   C,I,R
10   10.20.1.0/24   10.255.1.2  mpls          100   C,I,R
10   10.20.1.0/24   10.255.1.2  biz-internet  100   C,I,R
All four routes are chosen, installed and resolved, because each is the best route for its own prefix. The preference of 200 belongs to the /16, which BR-02 uses only for destinations that no /24 covers. Traffic for 10.20.1.5 matches the /24 first, so it goes to HUB-02, and the same holds for all 40 networks.
Diagram
Evidence from the case
Evidence from the case

The summary route from HUB-01 carries preference 200 and covers 10.20.0.0/16. HUB-02 advertises 40 specific /24 routes at the default preference of 100. For a destination inside one of the /24 routes, the longer prefix is matched first, so HUB-02 carries the traffic. The preference is not compared across the two different prefixes.

  1. HUB-01One /16 aggregate, preference 200Used only for uncovered addresses
  2. HUB-02Forty /24 routes, preference 100Matched first by length
  3. ResultAll 40 networks use HUB-02HUB-01 carries nothing
  4. FixSame granularity from both hubsPreference then decides
Preference decides between routes for the same prefix and not between different prefixes.
Diagram
Which hub carries 1,000 example flows (computed)
Which hub carries 1,000 example flows (computed)
What the hubs advertiseHUB-01 flowsHUB-02 flowsWhy
HUB-01 a /16 at 200, HUB-02 forty /24 at 10001,000The longer prefix is matched before preference is compared
Both hubs forty /24, HUB-01 at 2001,0000Same prefixes, so the higher preference wins
Both hubs a /16, HUB-01 at 2001,0000Same prefix, so the higher preference wins
Computed by script with a simplified model: longest matching prefix first, then highest preference, then an even split among equal routes. Real forwarding also depends on resolution and installation limits. Example flows, not measurements.

The repair is to advertise at one granularity from both hubs, either the 40 specifics or the aggregate, and let preference decide. Advertising the aggregate from both hubs shrinks the state as well, with the warning from the aggregate section: when a hub keeps its aggregate while specifics behind it fail, traffic for the failed networks still goes to that hub.

Learn more: Best-Path Selection: Preference and Tie-BreakersOMP State and Update ProcessingQuiet Blackholes and TLOC ResolutionPolicy Types

Test yourself

Predict · scenario 1

According to the Cisco routing guide for releases 26.x and later, which of these routes are advertised into OMP by default?

Predict · scenario 2

A router has an aggregate for 10.20.0.0/16 configured without aggregate-only. What does it advertise?

Predict · scenario 3

When does an aggregating device advertise the aggregate prefix, according to the Cisco guide?

Predict · scenario 4

998 branches each have 40 prefixes and 2 TLOCs, and every branch uses aggregate-only with one summary. How many routes does the Controller receive in the model?

Predict · scenario 5

HUB-01 advertises 10.20.0.0/16 at preference 200. HUB-02 advertises the 40 /24 routes inside it at the default preference of 100. Which hub carries traffic to 10.20.1.5?

Predict · scenario 6

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 7

A prefix has 8 paths. The paths advertised per prefix is raised to 8 and the equal-cost limit stays at 4. What happens at an edge?

Predict · scenario 8

An outbound control policy toward BR-02 sets a higher preference on HUB-02's routes. The path limit is 2 and HUB-01's two routes already fill it. What does the Cisco troubleshooting document imply?

FAQ

Are connected, static and BGP routes advertised into OMP by default?
In the Cisco routing guide for releases 26.x and later, they are not. Connected routes are not advertised to OMP by default, and the guide says the same for static routes, BGP routes and external OSPF routes. Each source has to be switched on, so a route missing from the overlay is often a route that was not advertised. Other releases were not checked.
Does an aggregate replace the specific routes?
Not unless aggregate-only is set. In the Cisco multi-region guide, an aggregating router advertises each individual route and the summary prefix by default. The aggregate-only option advertises the summary alone, which is what shrinks the route state.
When is an aggregate withdrawn?
The guide says an aggregating device advertises the aggregate only if a component route inside the range is available. It follows that the aggregate stays while a single component remains, and that the networks which are gone stay covered until the last one goes. The page read says nothing further about failures.
Can a preference of 200 lose to a preference of 100?
Yes, when the two routes are for different prefixes. Preference decides between routes for the same prefix. A route for a longer prefix is used for traffic to its networks, whatever the preference of a shorter prefix that also covers them.
Is the paths-per-prefix limit the same as the send path limit?
The routing guide for releases 26.x and later names the setting Paths Advertised Per Prefix, and Cisco's troubleshooting document names the OMP command send-path-limit. They describe the same idea, but the mapping between the two names was not confirmed on a single page, so check the name used for the release in use.