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.
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.
- Advertiseis it put intoOMP at all?
- Aggregateis it folded intoa summary?
- Control policyis it acceptedor changed?
- Path limitshow many pathsare sent and used?
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.
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.
- Learnconnected, staticor a protocol
- Advertiseswitched onper source
- Aggregateoptionalsummary
- Control policyaccept, rejector change
| Source of the prefix | Advertised into OMP by default? | What to check when the route is missing |
|---|---|---|
| Connected interface | No | Whether advertising connected routes is switched on for the VPN |
| Static route | No | Whether advertising static routes is switched on for the VPN |
| BGP | No | Whether advertising BGP is switched on, and the OMP preference that results |
| OSPF external | No | Whether advertising OSPF is switched on and which route types it covers |
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.
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.
| Topic | As the guide describes it | Release or platform |
|---|---|---|
| Purpose | Fewer entries for routers to maintain | IOS XE Catalyst SD-WAN, Multi-Region Fabric guide |
| Default advertisement | Each individual route and the summary prefix | Same guide |
| aggregate-only | Only the summary prefix is advertised | Same guide |
| Condition | The aggregate is advertised only while a component route inside the range exists | Same guide |
| Border router syntax | advertise aggregate with a prefix, optional aggregate-only and an optional region of core or access | Border routers and transport gateways from IOS XE 17.11.1a with Control Components 20.11.x |
| Earlier releases | Aggregation covered OMP routes on edge routers in access regions of the fabric | Before 17.11.1a |
| Not confirmed | Verification commands, outputs, behaviour when specifics fail beyond the condition, and support outside Multi-Region Fabric | Not on the page read |
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.
| Advertisement | Received by the Controller | Seen by one branch |
|---|---|---|
| Specifics only | 79,840 | 79,760 |
| Specifics and the summary (the default) | 81,836 | 81,754 |
| Summary only (aggregate-only) | 1,996 | 1,994 |
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.
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.
- 40 componentsAggregate advertisedNo dead networks covered
- 20 componentsAggregate still advertised20 dead networks attract traffic
- 1 componentAggregate still advertised39 dead networks attract traffic
- 0 componentsAggregate withdrawnNothing is covered
| Components still present | Aggregate advertised? | Networks gone but still covered |
|---|---|---|
| 40 | Yes | 0 |
| 20 | Yes | 20 |
| 1 | Yes | 39 |
| 0 | No | 0 |
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.
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.
| Note | Mechanism | Where it is applied | Release in the lab |
|---|---|---|---|
| Preferred default route or prefix | Match a route by originator and prefix list, accept, set preference 200; a backup hub gets 150; the default preference is 100 | Outbound to one site list, or inbound from the originating site so every remote site is affected | cEdge 17.3.3, vEdge 20.3.2, Controller 20.4.2 |
| Active and standby hub-and-spoke | A TLOC list with preference 1,000 for the active hub and 500 for the standby, set on the routes by one sequence | Outbound to the branch site list | C8000V 17.6.3a, Manager 20.6.3.1, Controller 20.6.3 |
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 ! !
| Situation | What the Cisco troubleshooting document says | Consequence |
|---|---|---|
| An outbound policy rejects a route | It is removed before the send path limit is applied | The limit is filled by the routes that remain |
| An outbound policy sets a preference | The internal candidate order used for the send path limit is not re-ranked | A route that missed the limit is not promoted by a higher preference set outbound |
| A preference is needed to decide which hub is advertised | The ranking steps run before the outbound policy | Set the preference where the ranking can see it, on the originating side or by an inbound policy |
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.
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.
- AvailableRoutes for one prefix2 for a branch, 4 behind two hubs
- AdvertisedAt most the paths-per-prefix limitDefault 4
- InstalledAt most the equal-cost limitDefault 4
| Paths available for a prefix | Advertised, limit 2 | Advertised, limit 4 | Advertised, limit 16 | Installed with an equal-cost limit of 4 |
|---|---|---|---|---|
| 2 (one site, two TLOCs) | 2 | 2 | 2 | 2 |
| 4 (two hubs, two TLOCs) | 2 | 4 | 4 | 4 |
| 8 (four hubs, two TLOCs) | 2 | 4 | 8 | 4 |
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.
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
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.
- HUB-01One /16 aggregate, preference 200Used only for uncovered addresses
- HUB-02Forty /24 routes, preference 100Matched first by length
- ResultAll 40 networks use HUB-02HUB-01 carries nothing
- FixSame granularity from both hubsPreference then decides
| What the hubs advertise | HUB-01 flows | HUB-02 flows | Why |
|---|---|---|---|
| HUB-01 a /16 at 200, HUB-02 forty /24 at 100 | 0 | 1,000 | The longer prefix is matched before preference is compared |
| Both hubs forty /24, HUB-01 at 200 | 1,000 | 0 | Same prefixes, so the higher preference wins |
| Both hubs a /16, HUB-01 at 200 | 1,000 | 0 | Same prefix, so the higher preference wins |
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
According to the Cisco routing guide for releases 26.x and later, which of these routes are advertised into OMP by default?
A router has an aggregate for 10.20.0.0/16 configured without aggregate-only. What does it advertise?
When does an aggregating device advertise the aggregate prefix, according to the Cisco guide?
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?
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?
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?
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?
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?