Overview
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.