← Return to Report 📚 All Topic Sources ⬇ Download Source Text

OMP Best-Path Selection | NetworkAcademy.IO

OMP Best-Path Selection | NetworkAcademy.IO

Skip to main content

Search

Main navigation

Learning Paths

Courses

User Anonymous

Sign up

Log in

Learning Path: CCIE Enterprise Infrastructure

Cisco Catalyst SD-WAN Deep-Dive

OMP Best-Path Selection

OMP Best-Path Selection

Wider Page

Bigger text

OMP Route Advertisements

In the Cisco SD-WAN solution, WAN Edge routers advertise their local networks to the Cisco vSmart controllers using the Overlay Management Protocol (OMP). In a typical production deployment, most local networks are attached to two or more vEdge devices for redundancy and most networks get advertised from multiple devices. Additionally, each subnet is advertised as reachable via each Transport Locator (TLOC) that the WAN edge router has.

Figure 1. OMP Routing Advertisements

If we look at the example shown in figure 1, three vEdge routers are connected to subnet 1.2.3.0/24. The first one advertises to the vSmart controller that 1.2.3.0/24 is reachable via TLOC T1 and also that subnet 1.2.3.0/24 is reachable via TLOC T2. In the same manner, the other two WAN edge routers advertise that subnet 1.2.3.0/24 is reachable via TLOCs 3,4,5, and 6. In the end, the vSmart controller has six OMP routes for prefix 1.2.3.0/24. By default, vSmart is configured to advertise only four paths for a given prefix. Therefore, it must compare all available routes for this prefix and select the best four that will be sent out to all WAN edge routers. This is done using the Overlay Management Protocol Best-Path Algorithm.

Note that the number of routes per prefix that vSmart advertises can be changed using the following configuration:

It is also possible to configure the controller to send backup paths using the following configuration:

OMP Best-Path Algorithm

vSmart controllers and vEdge routers perform the Best-Path Selection when they have multiple routes for the same prefix. Figure 2 shows the Best-Path algorithm that Cisco SD-WAN devices go through.

Figure 2. OMP Best-Path Selection Algorithm

Let's look at each step of the OMP Best-Path Selection in more detail:

Prefer ACTIVE routes over STALE routes. A route is ACTIVE when there is an OMP session in UP state with the peer that sent out the route. A route is STALE when the OMP session with the peer that sent out the route is in GRACEFUL RESTART mode;

Select routes that are Valid. Ignore invalid routes. A route must have a next-hop TLOC that is known and reachable.

Prefer routes with lower administrative distance (AD) (on vEdge only). AD is a locally-significant value on each router and depends on the OS. Different platforms may have different AD values for different protocols. For example, OMP has AD of 250 on vEdges and 251 on cEdges. Additionally, network admins can define floating static routes with various ADs for the same prefix. AD is only compared when the same WAN edge router receives the same site-local prefix from multiple routing protocols. AD is not a parameter in OMP, is not advertised, and does not influence vSmart.

Prefer routes with a higher route preference value. By default, all omp routes have 0 preference. This is typically the most often used value when we need to do traffic engineering.

Prefer routes with a higher TLOC preference value (on vEdge only). TLOC preference is a parameter in TLOC routes. And TLOC routes are not bound to VPN-id. Therefore, changing the TLOC preference affects vEdges path selection for all VPNs.

Compare the origin type, and select the first match in the following order:
Connected
Static
EIGRP summary
EBGP
OSFP intra-area
OSPF inter-area
IS-IS level 1
EIGRP external
OSPF external
IS-IS level 2
IBGP
Unknown

Connected

Static

EIGRP summary

EBGP

OSFP intra-area

OSPF inter-area

IS-IS level 1

EIGRP external

OSPF external

IS-IS level 2

IBGP

Unknown

Compare the origin metric - If the origin type of the routes is the same, select the routes that have the lower origin metric.

Tiebreaker - Prefer vEdge sourced routes over vSmart sourced. (on vSmart only)

Tiebreaker - If the origin types are equal, select the routes that have the lowest router-id (System-IP).

Tiebreaker - If the router IDs are the same, prefer the routes with the lowest private TLOC IP address.

ECMP - To be considered equal, omp routes must be valid and equal-cost up to step 8 (green and blue steps in figure 2). When there are more equal-cost routes than the send-path-limit value, the controller sorts the best ones based on the tiebreakers in descending order and advertises as many as the send-path-limit. This is visualized in figure 1.

Note that Cisco vEdge routers install a route in their forwarding table (FIB) only if the TLOC to which it points is active. Active TLOCs are ones that have a BFD session in UP state associated with them. When for whatever reason a BFD session becomes down(inactive), the Cisco vSmart/vEdge devices remove all routes that point to that TLOC from their forwarding table.

Best-Path Selection Examples

Let's look at some basic but important examples:

A vSmart controller receives a route to 1.2.3.0/24 from a Cisco WAN Edge router with an origin code of eBGP. The controller also receives the same route from another vSmart Controller, also with an origin code of eBGP. Assuming all other properties are equal, the best-path algorithm would choose the route that came from the Cisco vEdge device.

A Cisco vSmart Controller learns the same route, 10.10.10.0/24, from two Cisco vEdge devices on the same site. If all other parameters are the same, both routes are chosen and advertised to other peers. By default, up to four equal-cost routes are selected and advertised.

A Cisco vSmart controller receives eight OMP routes for prefix 172.16.1.0/24. The send-path-limit value is the default one - 4. Six of them are chosen as best based on the OMP best path algorithm. They have the flag C set as you can see on the output below. The reason the other two have not been chosen as best can be seen in the loss-reason, lost-to-peer, and lost-to-path-id columns.

So there are six equal-cost routes (flagged with C) to 172.16.1.0/24, but the send-path-limit value is set to 4. Therefore, the controller sorts them based on the lowest originator System-IP and if there is a tie, based on the lowest TLOC private IP address, and advertises out the best four.

OMP Graceful Restart

While studying how Cisco SD-WAN works, have you ever wondered what happens with the overlay fabric when the SD-WAN Control Plane becomes unavailable? Well, there is a feature called OMP Graceful Restart that allows the data plane to continue functioning and forwarding traffic even if the control plane suddenly goes down or becomes unavailable. WAN edge devices do this by using the last known routing information that they received from the vSmart controllers. At the same time, vEdges actively try to re-establish a control-plane connection to the vSmart controllers. When the controllers are back up and reachable, DTLS control connections are re-established, and the vEdge routers then receive updated and refreshed network information from the vSmart controllers.

Figure 3. OMP Graceful Restart

Cisco vEdge and vSmart devices cache the OMP information that they learn from peers. The cached information includes OMP, TLOC, and SERVICE routes, IPsec SA parameters, and the centralized data policies in place. When a WAN edge device loses its OMP peering to the vSmart controller, the device continues forwarding data traffic using the cached OMP information. The Edge device also periodically checks whether the vSmart controller has come up. When it does come back up and the control plane peering is re-established, the device flashes its local cache and refreshes the control plane information from the vSmart controller. This same technique is valid in the opposite scenario when a vSmart controller no longer detects the presence of Cisco vEdge devices. It then uses its local cache until the WAN edge device becomes reachable again.

Manipulating the Best-Path Selection Process

Similar to the well-known process of manipulating the BGP best-path selection process with route-maps, in Cisco SD-WAN we have the ability to manipulate the route selection locally on WAN edge devices. This is typically done using a Local device template. We have done that many times in traditional networking. The more interesting ability that SD-WAN allows us to do is to manipulate the routing information that goes in and out of the controller's routing table. This allows for a per-prefix network-wide routing manipulation, similarly to modifying route properties on a BGP Route-Reflector.

Figure 4. Manipulating the Cisco SD-WAN best-path selection process

There are two configuration options that allow for that:

Using Inbound Centralized Policy - With an inbound centralized policy, we can change the origin code or the TLOC preference of a particular prefix before it goes into the routing table of the vSmart controller. This will then influence the best-path selection and lead to a different output from the best-path algorithm. Remember that the best routes are then advertised downstream to all WAN edge routers. Therefore, any manipulation of the controller's routing table will change the control-plane information across the whole overlay fabric.

Using Outbound Centralized Policy - With an outbound centralized policy, we typically modify the routing information that is sent to a particular set of WAN edge devices in order to influence their own best-path selection algorithm.

Book traversal links for 121

Previous Lesson OMP Overview

Next Lesson OMP Send Path Limit

Introduction to SD-WAN
Why do we need SD-WAN?
What is SD-WAN?
How Cisco SD-WAN works?
Cisco SD-WAN Main Principles

Why do we need SD-WAN?

What is SD-WAN?

How Cisco SD-WAN works?

Cisco SD-WAN Main Principles

Key features of Cisco SD-WAN
Application Quality of Experience (AppQoE)
Interconnecting Multiple Clouds
Direct Internet Access (DIA)
RESTful APIs

Application Quality of Experience (AppQoE)

Interconnecting Multiple Clouds

Direct Internet Access (DIA)

RESTful APIs

Cisco SD-WAN Control Plane
Underlay vs Overlay Routing
Control Connections
OMP Overview
OMP Best-Path Selection
OMP Send Path Limit
OMP Send Backup Paths
OMP Source Preference
Understanding OMP Routing
OMP TLOC-Action
Chapter Key Takeaways
QUIZ - Control Plane Fundamentals

Underlay vs Overlay Routing

Control Connections

OMP Overview

OMP Best-Path Selection

OMP Send Path Limit

OMP Send Backup Paths

OMP Source Preference

Understanding OMP Routing

OMP TLOC-Action

Chapter Key Takeaways

QUIZ - Control Plane Fundamentals

Cisco SD-WAN Data Plane
What is a TLOC?
The Overlay Fabric
TLOC Color and Carrier
Tunnel Groups
TLOCs and NAT
Data Plane Encryption
VPN Segmentation
Understanding VPNs and LABELs
LAB 1 - Connecting to the WAN using TLOC Extension
LAB 2 - Controlling the topology with restricted TLOC Colors
LAB 3 - Controlling the topology with Tunnel Groups
LAB 4 - Connecting to the WAN using a Loopback TLOC
QUIZ - Data Plane Fundamentals

What is a TLOC?

The Overlay Fabric

TLOC Color and Carrier

Tunnel Groups

TLOCs and NAT

Data Plane Encryption

VPN Segmentation

Understanding VPNs and LABELs

LAB 1 - Connecting to the WAN using TLOC Extension

LAB 2 - Controlling the topology with restricted TLOC Colors

LAB 3 - Controlling the topology with Tunnel Groups

LAB 4 - Connecting to the WAN using a Loopback TLOC

QUIZ - Data Plane Fundamentals

Cisco SD-WAN Deployment
Cisco SD-WAN Certificates Explained
Controllers Identity and Whitelisting
WAN Edge Deployment
Last Resort Circuit
Connection with legacy (non-sdwan) branches
TLOC Extension

Cisco SD-WAN Certificates Explained

Controllers Identity and Whitelisting

WAN Edge Deployment

Last Resort Circuit

Connection with legacy (non-sdwan) branches

TLOC Extension

Cisco SD-WAN Management Plane
Cisco SD-WAN Policies
Cisco SD-WAN Templates
vManage Mode

Cisco SD-WAN Policies

Cisco SD-WAN Templates

vManage Mode

Cisco SD-WAN Home Lab
Cisco SD-WAN on EVE-NG
Cisco SD-WAN version 20.x on PNETlab
Onboarding cEdge Catalyst 8000V
Onboarding cEdge CSR1K
Packet loss, Latency and Jitter on EVE-NG

Cisco SD-WAN on EVE-NG

Cisco SD-WAN version 20.x on PNETlab

Onboarding cEdge Catalyst 8000V

Onboarding cEdge CSR1K

Packet loss, Latency and Jitter on EVE-NG

Centralized Control Policies
What is a Centralized Control Policy?
Inbound vs Outbound Control Policy
LAB 1 - Hub-and-Spoke - Restricting spoke-to-spoke tunnels
LAB 2 - Hub-and-Spoke - Allowing hub-to-spoke routing
LAB 3 - Hub-and-Spoke - Enabling spoke-to-spoke communication
LAB 4 - Traffic Engineering - TLOC Preference
LAB 5 - Traffic Engineering - End-to-End Path Tracking
LAB 6 - VPN Membership Policy - Isolating guest users
LAB 7 - Service Chaining
LAB 8 - Route Leaking
LAB 9 - Per VPN topologies
LAB 10 - Dynamic On-demand Tunnels
QUIZ - Centralized Control Policies

What is a Centralized Control Policy?

Inbound vs Outbound Control Policy

LAB 1 - Hub-and-Spoke - Restricting spoke-to-spoke tunnels

LAB 2 - Hub-and-Spoke - Allowing hub-to-spoke routing

LAB 3 - Hub-and-Spoke - Enabling spoke-to-spoke communication

LAB 4 - Traffic Engineering - TLOC Preference

LAB 5 - Traffic Engineering - End-to-End Path Tracking

LAB 6 - VPN Membership Policy - Isolating guest users

LAB 7 - Service Chaining

LAB 8 - Route Leaking

LAB 9 - Per VPN topologies

LAB 10 - Dynamic On-demand Tunnels

QUIZ - Centralized Control Policies

Centralized Data Policies
What is a Centralized Data Policy?
LAB 1 - Direct Internet Access (DIA) - Internet access to guest users
LAB 2 - VPN-wide Access Control Lists
LAB 3 - NAT DIA Tracker
LAB 4 - Allowing DIA to trusted application only
LAB 5 - Application pinning
LAB 6 - Forward Error Correction (FEC)
LAB 7 - Packet Duplication

What is a Centralized Data Policy?

LAB 1 - Direct Internet Access (DIA) - Internet access to guest users

LAB 2 - VPN-wide Access Control Lists

LAB 3 - NAT DIA Tracker

LAB 4 - Allowing DIA to trusted application only

LAB 5 - Application pinning

LAB 6 - Forward Error Correction (FEC)

LAB 7 - Packet Duplication

Application-Aware Routing Policies
Application-Aware Routing (App-route) Policy
AAR alongside Data Policy
Configuring Application-Aware Routing (AAR) Policies

Application-Aware Routing (App-route) Policy

AAR alongside Data Policy

Configuring Application-Aware Routing (AAR) Policies

Localized Policies
What is a Localized Policy?
LAB 1 - Manipulating site-local BGP routing
LAB 2 - Implicit Access Control List (ACL)
LAB 3 - Explicit Access Control List (ACL)
LAB 4 - Traffic Policing
LAB 5 - Cisco SD-WAN QoS
LAB 6 - Mirror data traffic for analysis
QUIZ - Localized Policies

What is a Localized Policy?

LAB 1 - Manipulating site-local BGP routing

LAB 2 - Implicit Access Control List (ACL)

LAB 3 - Explicit Access Control List (ACL)

LAB 4 - Traffic Policing

LAB 5 - Cisco SD-WAN QoS

LAB 6 - Mirror data traffic for analysis

QUIZ - Localized Policies

High Availability, Scalability and Disaster Recovery
Cisco SD-WAN High Availability
Hierarchical SD-WAN
LAB 1 - Service side redundancy using VRRP
LAB 2 - OMP Redistribution and Loop Prevention

Cisco SD-WAN High Availability

Hierarchical SD-WAN

LAB 1 - Service side redundancy using VRRP

LAB 2 - OMP Redistribution and Loop Prevention

Cloud OnRamp
Cloud onRamp for SaaS
Cloud onRamp for IaaS
Cloud onRamp with AWS - Design Options

Cloud onRamp for SaaS

Cloud onRamp for IaaS

Cloud onRamp with AWS - Design Options

Cisco SD-WAN Security
What is SASE?
SD-WAN Security Overview
Application-aware Enterprise Firewall
Intrusion Prevention System (IPS)
HTTPS/TLS Proxy
LAB 1 - PCI Compliance (FW, IPS, TLS Proxy)
URL Filtering (URLF)
LAB 2 - Secure Guest Access (FW, URLF)
Advanced Malware Protection (AMP)
DNS Web Layer Security
QUIZ - Security Fundamentals

What is SASE?

SD-WAN Security Overview

Application-aware Enterprise Firewall

Intrusion Prevention System (IPS)

HTTPS/TLS Proxy

LAB 1 - PCI Compliance (FW, IPS, TLS Proxy)

URL Filtering (URLF)

LAB 2 - Secure Guest Access (FW, URLF)

Advanced Malware Protection (AMP)

DNS Web Layer Security

QUIZ - Security Fundamentals

Advanced Scenarios
Scenario #1 - Preferred DC in a dual-DC design
Scenario #2 - Last-resort-circuit for a single app
Scenario #3 - AAR in point-to-multipoint topologies
Scenario #4 - Advanced Route Leaking

Scenario #1 - Preferred DC in a dual-DC design

Scenario #2 - Last-resort-circuit for a single app

Scenario #3 - AAR in point-to-multipoint topologies

Scenario #4 - Advanced Route Leaking

Tags

SD-WAN

You prefer to study with a book?

"SD-WAN: Example-based Study Guide, Volume 1" is the first of a two-volume series that provides a comprehensive understanding of the Cisco SD-WAN solution. The book features over 250 diagrams and over 30 lab examples to help readers learn how to configure and deploy software-defined WAN. Written in a clear and accessible style, the book is ideal for both beginners and experienced networking professionals.

Comments

saudesh

Fri, 28 May 2021 - 00:00

This is really a very informative tutorial.

I have few doubts about OMP, which I am not able to figure out. Would you please help me with below points:

About point 9(best path selection): All Cisco docs says compare Router ID, however OMP doesn't have router id instead it uses System IP as a peer ID. Why dont we call it System IP instead of Router id.

In which scenario, tie breaker(point 9 & 10) comes in picture. If they always consider then there would be only one route selected.

For OMP to consider two routes "equal cost" what all attributes must be same.

Log in or register to post comments

Ivan.Ivanov

Sat, 29 May 2021 - 00:00

Hi Saudesh,

That's an excellent question! My understanding of these is the following:

Indeed in the official documentation, it says "Router-ID" but in reality, they mean System-IP. In the official Ciscopress book, it is written System-IP for this step.

Tiebreakers are considered when there are more equal-cost routes than the send-path-limit value, so the controller must advertise only a limited number of routes.

To be considered equal-cost, the routes must be equal up to the tiebreakers. The steps highlighted with green and blue in figure 2.

I updated the lesson with some additional explanations and one more example.

Thank you for your feedback!

Ivan

Log in or register to post comments

saudesh

Mon, 31 May 2021 - 00:00

Hello Ivan,

It make sense, million thanks for your kind response !!

Log in or register to post comments

rahmanshirazur

Fri, 9 Jul 2021 - 00:00

What is different between Route Preference and TLOC preference . Are we refering OMP prefrence as route Prefrence

Log in or register to post comments

Ivan.Ivanov

Sat, 10 Jul 2021 - 00:00

Hi, rahmanshirazur,

In the context of Cisco SD-WAN, the terms "Route Preference", "vRoute Preference," and "OMP Preference" are used interchangeably and refer to the preference value in an OMP route (vRoute). Simply put, the preference value found in the output of "show omp route detail".

On the other hand, the TLOC preference is the preference value found in a TLOC route. Basically, the one found in the output of "show omp tlocs detail".

Hope it helps,

Ivan

Log in or register to post comments

supriyo1977

Wed, 4 Aug 2021 - 00:00

great tutorial

Log in or register to post comments

HNG

Tue, 21 Sep 2021 - 00:00

Just checking if the comparison of the Origin Type needs to be updated?

Connected

Static

EBGP

EIGRP Internal

OSPF intra-area

OSPF inter-area

OSPF external

EIGRP external

IBGP

Unknown

Thanks

Log in or register to post comments

Ivan.Ivanov

Tue, 21 Sep 2021 - 00:00

Hi HNG,

Thank you for your feedback! Much appreciated!

I have updated the list according to the latest Cisco SD-WAN configuration guide for release 20.6.1 (from 19.09.2021)

Regards,

Ivan

Log in or register to post comments

abhisinghvaz

Sun, 24 Oct 2021 - 00:00

Your content is very clearly defined and I am understanding it much better here then any where else. Thank you !!!

Log in or register to post comments

msizi.mthembu

Sun, 6 Mar 2022 - 00:00

Very well explained. Many thanks.

Log in or register to post comments

tungnx

Mon, 21 Mar 2022 - 00:00

Greate explain !!!

Can you shares Offical document of Cisco SDWAN ?

Log in or register to post comments

[email protected]

Tue, 19 Apr 2022 - 00:00

Hi Ivan, awsome tutorial, enjoyed every single chapter, though i have few things uncleared.

1: Choose the low AD value ( i have configured 2 vedges (one internet, one mpls connection) connected them to a switch and configured loopback on switch, it worked fine choosing between OSPF/Static but when i gave 2 static routes (on from each vedge with different AD value i noticed both routes were chosen and traffic were load balanced ), so seem like within same protocol it did not worked as expected.

also when i ran route preference against tloc preference, route preference WON.

Once Again one of best tutorial.

Log in or register to post comments

Ivan.Ivanov

Tue, 19 Apr 2022 - 00:00

Hi zerodha00,

In networking in general, the AD of a route is a locally-significant value based on the router OS. Different protocols might have different AD values on different platforms. For example, the OMP has an AD of 250 on vEdges and 251 on cEdges (because NHRP has AD 250 on cEdges).

Therefore, the AD is only compared for service-side routes on THE SAME WAN edge router. For example, if a WAN edge router receives two routes for the same prefix, one via OSPF and one via Static, it will choose the static route.

AD is not a parameter in OMP, is not advertised, and does not influence the vSmart best-path algorithm. What you probably saw in your tests is that vSmart compared the origin-protocol (vedge1 static > vedge2 ospf) and chose static. Then both OMP routes became equal (vedge1 static = vedge2 static).

Hope it help!

Log in or register to post comments

Ivan.Ivanov

Tue, 19 Apr 2022 - 00:00

I have updated the lesson based on your question. Thank you for the feedback!

Log in or register to post comments

murtasilmo

Thu, 19 May 2022 - 00:00

I don't know why I found your content late . This is much more than excellent to start with SD-WAN.

❤

Log in or register to post comments

joker00712

Sun, 12 Jun 2022 - 00:00

from Cisco site

https://sdwan-docs.cisco.com/Product_Documentation/Software_Features/SD…

If the origin types are the same, select the OMP route the higher router ID.

If the router IDs are equal, a vEdge router selects the OMP route with the higher private IP address. If a vSmart controller receives the same prefix from two different sites and if all attributes are equal, the vSmart controller chooses both of them.

Log in or register to post comments

Ivan.Ivanov

Sun, 12 Jun 2022 - 00:00

Hi joker00712,

The link you posted is for a very old release (>7 years old) of the solution. For the current Cisco SD-WAN releases, the OMP best-path algorithm is as described in the lesson.

HTH, Ivan

Log in or register to post comments

joker00712

Sun, 12 Jun 2022 - 00:00

Thanks alot i get really confused because of that and thanks for your great tutorial

Log in or register to post comments

danshtr

Thu, 16 Jun 2022 - 00:00

How to design the network in a way that there are different speed WAN links, so the Edge will know how to balance traffic across them while taking into account the fact that they have different BW.

For example, if I have 10M links and 20M link, I want the router to know not to place new flows on the 10M link when it is full and place the new flow on the 20M link. This is especially important for DIA traffic but also important for overlay traffic as well.

Log in or register to post comments

Ivan.Ivanov

Thu, 16 Jun 2022 - 00:00

Hello Danshtr,

The easiest way to achieve unequal load-balancing is to use TLOC WEIGHT. If you configure a weight value of 2 to the 20M tloc and weight 1 to the 10M tloc, the router will send two traffic flows through the 20M tloc for every flow tru the 10M tloc (load balancing 2:1). However, this only covers the transmitting direction.

You can also use policer/shaper/qos on the tlocs according to their available capacity. You can use AAR policy to move interesting traffic off a link that experiences congestion. You can use application pinning to make some apps prefer the 20M link, and so on. There isn't one straightforward approach. It all depends on your specific topology/applications/etc.

HTH, Ivan

Log in or register to post comments

mohanmuthu178

Sun, 19 Jun 2022 - 00:00

As usual, Great article, Ivan. Many thanks for this.

One question related to Graceful Restart. I remember reading that there is a timer for Graceful restart, that is, for how long the Data Plane will hold while the Control plane is missing. Also, the encryption keys have a timer of 24 hrs, after which they will expire. So, if the encryption key expires while the control plane down, will the data plane come down as well or will the vEdges continue the use the same key (even after expire) until the control plane is restored.

Many Thanks!!!

Log in or register to post comments

Ivan.Ivanov

Mon, 20 Jun 2022 - 00:00

Hello mohanmuthu,

By default, the graceful restart timer is 12 hours (43,200 secs) and the validity of keys is 24 hours, so this scenario could not happen with default settings. However, I guess if you increase the graceful restart timer to 24+ hours (max is 7 days), the router won't be able to maintain the overlay tunnels when the keys expire.

HTH, Ivan

Log in or register to post comments

arunbhola21

Tue, 23 Aug 2022 - 00:00

I can only 1 DTLS connection between vSmart and cEdge over Biz-Internet. However, i am using both MPLS and internet. I am using internet WAN IP of vBond as vBond IP on each and every device in SDWAN fabric. How can i get 2 DTLS connection on cEdge towards vSmart both on MPLS and Internet.

I want to use MPLS connection on 1 cEdge and Internet Connection on 1 cEdge. But only site with Internet connection is having control connection with vSmart. Site with MPLS connectivity does not control connection with Controllers

Log in or register to post comments

jhojansy19

Wed, 5 Apr 2023 - 00:00

Hello. According to Cisco ducumentation found https://www.cisco.com/c/en/us/support/docs/routers/sd-wan/217479-omp-be…. The last two tie brackers are "Prefer route received from lowest System-IP" followed by " Prefer route from highest Private TLOC IP-address originated from the same site-id". I have a lab running with a couple of vEdged. The OMP best path selection seem to follow the documentation.

ADDRESS PSEUDO PUBLIC PRIVATE PUBLIC IPV6 PRIVATE IPV6 BFD

FAMILY TLOC IP COLOR ENCAP FROM PEER STATUS KEY PUBLIC IP PORT PRIVATE IP PORT IPV6 PORT IPV6

ipv4 10.0.0.1 biz-internet ipsec 10.0.0.1 C,I,R 1 160.10.25.2 12426 192.168.1.2 12426 :: 0 :: 0 -

30.0.0.1 mpls ipsec 30.0.0.1 C,I,R 1 65.55.10.2 12366 65.55.10.2 12366 :: 0 :: 0 -

110.0.0.1 mpls ipsec 110.0.0.1 C,I,R 1 165.22.130.2 12406 165.22.130.2 12406 :: 0 :: 0 -

110.0.0.1 biz-internet ipsec 110.0.0.1 C,I,R 1 55.10.20.2 12406 55.10.20.2 12406 :: 0 :: 0 -

120.0.0.1 mpls ipsec 120.0.0.1 C,I,R 1 199.64.10.2 12426 199.64.10.2 12426 :: 0 :: 0 -

120.0.0.1 biz-internet ipsec 120.0.0.1 C,I,R 1 192.10.20.2 12426 192.10.20.2 12426 :: 0 :: 0 -

130.0.0.1 mpls ipsec 130.0.0.1 C,I,R 1 132.13.99.2 12346 132.13.99.2 12346 :: 0 :: 0 -

130.0.0.1 biz-internet ipsec 130.0.0.1 C,I,R 1 102.55.30.2 12366 192.168.1.1 12366 :: 0 :: 0 -

130.0.0.2 mpls ipsec 130.0.0.2 C,I,R 1 192.168.1.6 12426 192.168.1.6 12426 :: 0 :: 0 -

130.0.0.2 biz-internet ipsec 130.0.0.2 C,I,R 1 102.55.30.2 21890 102.55.30.2 12426 :: 0 :: 0 -

VPN PREFIX FROM PEER ID LABEL STATUS TYPE TLOC IP COLOR ENCAP PREFERENCE

19 10.2.2.0/24 0.0.0.0 66 1003 C,Red,R installed 110.0.0.1 mpls ipsec -

0.0.0.0 68 1003 C,Red,R installed 110.0.0.1 biz-internet ipsec -

The higher TLCO private ip seemd to be on top for the same ipv4 prefix.

Thank you.

Log in or register to post comments

Ivan.Ivanov

Thu, 6 Apr 2023 - 00:00

Hi,

The best-path selection has slight differences across versions, especially between major releases 18, 19 , 20. This is what I have seen using 20.7.1 / 17.7.01a.

Check out this link - https://www.cisco.com/c/en/us/td/docs/routers/sdwan/configuration/routi…

HTH, Ivan

Log in or register to post comments

Packet Sniffer

Fri, 22 Dec 2023 - 00:00

Hello Ivan, this suggests that Validity is checked first over Active/Stale, also TLOC preference is not vEdge only:

https://www.cisco.com/c/en/us/td/docs/routers/sdwan/configuration/routi…

Search for "OMP Best-Path Algorithm"

I have to say that, generally, Cisco have done an appalling job in documenting this. Some of the more prominent documentation is out of date, they keep dicking about with it between versions and platforms as well.

Log in or register to post comments

mknetdevops

Mon, 25 Mar 2024 - 00:00

how can we make OMP route preferred over local redistributed route from eBGP (same prefix)?

Log in or register to post comments

radouane

Sun, 22 Feb 2026 - 23:44

Since - Prefer vEdge sourced routes over vSmart sourced. (on vSmart only) is only a Tiebreaker why in the example ''A vSmart controller receives a route to 1.2.3.0/24 from a Cisco WAN Edge router with an origin code of eBGP. The controller also receives the same route from another vSmart Controller, also with an origin code of eBGP. Assuming all other properties are equal, the best-path algorithm would choose the route that came from the Cisco vEdge device'' we didnt install both routes, since the default send route is 4

Log in or register to post comments

Main navigation

Learning Paths

Courses

Legal

Our Cookie Policy

Our Privacy Policy

Our Terms of Service

Contribute

Become an Author

Donate

Suggest an improvement

Copyright © 2020-2026 NetworkAcademy.io

We use cookies on this site to enhance your user experience

By clicking the Accept button, you agree to us doing so.

More info

Accept No, thanks