Details which protocols are automatically redistributed into OMP (like Static and Connected) and which require explicit configuration (like BGP and EIGRP).
OMP automatically redistributes these routes after learning it either locally or from its routing peers:
-
Connected
-
Static
-
OSPF intra-area routes
-
OSPF inter-area routes
-
OSPFv3 intra-area routes (Address-Family IPv6)
-
OSPFv3 inter-area routes (Address-Family IPv6)
To avoid routing loops and less than optimal routing, redistribution of these routes require explicit configuration:
-
BGP
-
EIGRP
-
LISP
-
IS-IS
-
OSPF external routes
-
OSPFv3 external route (Address-Family IPv6)
-
OSPFv3 all routes (Address-Family IPv4)
Advertise network
The advertise network <ipv4-prefix> command advertises a specific prefix when a non-OMP route corresponding to the prefix is present in the VRF IPv4 routing table.
This command is only supported for address-family ipv4 .
This is an example for advertise network configuration:
omp
no shutdown
graceful-restart
address-family ipv4 vrf 1
advertise connected
advertise static
advertise network X.X.X.X/X
!
To avoid propagating excessive routing information from the edge to the access portion of the network, the routes that devices receive via OMP are not automatically redistributed into the other routing protocols running on the routers. If you want to redistribute the routes received via OMP, you must enable this redistribution locally on each device.
OMP route origin type and sub-type
OMP sets the origin and sub-origin type in each OMP route to indicate the route's origin. The Cisco Catalyst SD-WAN Controller and the router consider the origin type and subtype when selecting routes.
|
OMP route origin type |
OMP route origin subtype |
|---|---|
|
BGP |
External Internal |
|
Connected |
— |
|
OSPF |
Intra-area, Inter-area, External-1, External-2, NSSA-External-1 and NSSA-External-2 |
|
OSPFv3 |
Intra-area, Inter-area, External-1, External-2, NSSA-External-1 and NSSA-External-2 |
|
Static |
— |
|
EIGRP |
|
|
LISP |
— |
|
IS-IS |
Level 1 and level 2 |
OMP also carries the metric of the original route. A metric of 0 indicates a connected route.
Prior to Cisco Catalyst SD-WAN Manager Release 26.2.1, you could associate a route-map under the OMP configuration for protocol redistribution even if the route-map was not defined. In such cases, the association was effectively a no-operation because the route-map itself did not exist.
Starting from Cisco Catalyst SD-WAN Manager Release 26.2.1, validation check is introduced that requires the route-map to be defined before it can be associated under the OMP configuration. This means you must first create the route-map and then associate it with the OMP configuration for protocol redistribution.
vm41(config)# sdwan omp address-family ipv4 vrf 10
vm41(config-vrf-10)# advertise bgp route-map test
vm41(config-vrf-10)# commit
The route-map named test is defined prior to the association; otherwise, the configuration is not accepted. This behavior ensures configuration correctness to prevent silent no-operation associations of undefined route-maps under OMP redistribution settings.