Overview
Provides details on the synchronization of routing data between BGP and other protocols to ensure comprehensive network visibility.
By default, routes from other routing protocols are not redistributed into BGP. It can be useful for BGP to learn OMP routes, because OMP learns routes to destinations throughout the overlay network. BGP on the Cisco IOS XE Catalyst SD-WAN devices, then advertises the OMP routes to all the BGP routers in the service-side of the network.
config-transaction
router bgp 2
address-family ipv4 unicast
redistribute omp route-map route_map
To redistribute OMP routes into BGP so that these routes are advertised to all BGP routers in the service side of the network, configure redistribution in any VRF except transport VRF or Mgmt VRF:
For Cisco IOS XE Catalyst SD-WAN device, under router BGP configuration, redistribute omp route-map set/match is used instead of redistribute omp metric 0 setting as the redistribute omp metric is disabled in all the branches.
Device(config)# router bgp 100
Device(config-router)# address-family ipv4 vrf 100
Device(config-router-af)# redistribute omp [route-map policy-name]
config-transaction
router bgp 100
address-family ipv4 vrf 100
redistribute omp route_map route_map
You can also redistribute routes learned from other protocols such as OSPF, rip into BGP, and apply policy as shown in the example above:
You can control redistribution of routes on a per-neighbor basis:
config-transaction
router bgp 100
address-family ipv4
neighbor 10.0.100.1 route-map route_map (in | out)
You can configure the SD-WAN Controller to advertise BGP routes that it has learned, through OMP, from the SD-WAN Controller. Doing so allows the SD-WAN Controller to advertise these routes to other Cisco IOS XE Catalyst SD-WAN devices in the overlay network. You can advertise BGP routes either globally or for a specific VRF:
config-transaction
sdwan
omp
address-family ipv4 vrf 100
advertise bgp
exit