Follow these procedures to implement OMP routing on your devices.
Configure OMP using a configuration group
Before you begin
On the page, choose SD-WAN as the solution type.
Procedure
-
From the Cisco SD-WAN Manager menu, choose .
-
Create and configure a OMP feature in a System profile.
What to do next
Also see Deploy a configuration group.
Configure OMP using templates
Use the OMP template to configure OMP parameters for all Cisco IOS XE Catalyst SD-WAN devices, and for Cisco Catalyst SD-WAN Controllers.
OMP is enabled by default on all Cisco IOS XE Catalyst SD-WAN devices, SD-WAN Manager NMSs, and Cisco Catalyst SD-WAN Controllers. You do not need to explicitly enable OMP. OMP must be operational for the Cisco SD-WAN overlay network to function. If you disable it, the overlay network also gets disabled.
Route advertisements in OMP are done either by applying the configuration at the global level or at the specific VRF level.
Cisco IOS XE Catalyst SD-WAN device use VRFs in place of VPNs. However, the steps desciebed in this section are still applicable for configuring Cisco IOS XE Catalyst SD-WAN devices through SD-WAN Manager. When you complete the configuration, the system automatically maps the VPN configurations to VRF configurations.
Procedure
What to do next
Configure OMP options
Procedure
Configure OMP using the CLI commands
Follow these procedures to configure OMP using CLI commands.
Configure OMP graceful restart using CLI commands
OMP graceful restart is enabled on all Cisco IOS XE Catalyst SD-WAN devices and Cisco Catalyst SD-WAN Controllers. OMP graceful restart timer tells the OMP peer how long to retain the cached advertised routes. When this timer expires, the cached routes are considered to be no longer valid, and the OMP peer flushes them from its route table. The default timer is 43,200 seconds (12 hours), and the timer range is 1 through 604,800 seconds (7 days). You can modify this default timer value using CLI commands.
OMP must be operational for Cisco SD-WAN overlay network to function. If you disable it, you disable the overlay network. OMP support in Cisco SD-WAN includes:
-
IPv6 service routes
-
IPv4 and IPv6 protocols, which are both turned on by default
-
OMP route advertisements to BGP, EIGRP, OSPF, connected routes, static routes, and so on
The graceful restart timer is set up independently on each OMP peer that is, Cisco IOS XE Catalyst SD-WAN device and Cisco Catalyst SD-WAN Controller. Consider a Cisco Catalyst SD-WAN Controller that uses a graceful restart time of 300 seconds, or 5 minutes, and a Cisco IOS XE Catalyst SD-WAN device that is configured with a timer of 600 seconds (10 minutes). Here, the SD-WAN Controller retains the OMP routes learned from that device for 10 minutes—the graceful restart timer value that is configured on the device and that the device has sent to the SD-WAN Controller during the setup of the OMP session. The SD-WAN device retains the routes it learns from the SD-WAN Controller for 5 minutes, which is the default graceful restart time value that is used on the SD-WAN Controller and that the controller sent to the device, also during the setup of the OMP session.
While the SD-WAN Controller is down and a SD-WAN device is using cached OMP information, if you reboot the device, it loses its cached information; hence, it will not be able to forward data traffic until it establishes a control plane connection to the SD-WAN Controller.
Procedure
Configure OMP route advertisement using CLI commands
Enable protocol route advertisements to OMP for all VRFs on a Cisco IOS XE Catalyst SD-WAN device.
A Cisco IOS XE Catalyst SD-WAN device advertises connected routes, static routes, OSPF inter-area, OSPF intra-area routes, OSPFv3 IPv6 intra-area routes, and OSPF IPv6 inter-area routes to OMP for Cisco Catalyst SD-WAN Controller, that is responsible for the device's domain. You can use the advertise command to have the device advertise these routes to OMP, consequently to SD-WAN Controller.
Configuration of route advertisements in OMP can be done either by applying the configuration at the global level or at the specific VRF level.
Procedure
Configure BGP AS Path propagation into OMP using CLI commands
You can enable Cisco IOS XE Catalyst SD-WAN device to advertise BGP AS path information into OMP, ensuring that devices in the service-side network can receive and utilize this information for loop prevention. Propagating BGP AS path information helps to prevent BGP routing loops by allowing routers to identify and avoid routes that contain their own AS number in the path. It also provides greater visibility into the routing path.
When you configure BGP to propagate AS path information, the device sends AS path information to devices that are behind the Cisco IOS XE Catalyst SD-WAN devices (in the service-side network) that are running BGP, and it receives AS path information from these routers. If you’re redistributing BGP routes into OMP, the AS path information is included in the advertised BGP routes. If you configure BGP AS path propagation on some but not all devices in the overlay network, the devices on which it’s not configured receive the AS path information but they don’t forward it to the BGP routers in their local service-side network.
Procedure
Configure the number of advertised routes using CLI commands
You can control and configure the number of route–TLOC tuples that Cisco IOS XE Catalyst SD-WAN devices and Cisco Catalyst SD-WAN Controllers advertise, enabling you to optimize route advertisement and path selection based on your network requirements. You can execute the commands using CLI Add-on template.
A Cisco IOS XE Catalyst SD-WAN device device can have up to eight WAN interfaces, and each WAN interface has a different TLOC. (A WAN interface is any interface in VPN 0 (or transport VRF) that is configured as a tunnel interface. Both physical and loopback interfaces can be configured to be tunnel interfaces.) This means that each router can have up to eight TLOCs. The device advertises each route–TLOC tuple to the Cisco Catalyst SD-WAN Controller.
The SD-WAN Controller redistributes the routes it learns from Cisco IOS XE Catalyst SD-WAN devices, advertising each route–TLOC tuple. If, for example, a local site has two devices, an SD-WAN Controller could potentially learn eight route–TLOC tuples for the same route. By default, SD-WAN devices and SD-WAN Controllers advertises up to four equal-cost route–TLOC tuples for the same route.
You can configure devices to advertise from 1 to 16 route–TLOC tuples for the same route.
Procedure
Example:
Device(config-omp)# send-path-limit <path-limit>
Device(config-omp)# send-path-limit 14
From Cisco Catalyst SD-WAN Control Components Release 20.8.x, you can configure an SD-WAN Controller operating in a Hierarchical SD-WAN environment to advertise from 1 to 32 route-TLOC tuples to edge devices for the same route.
From Cisco Catalyst SD-WAN Control Components Release 20.9.x, you can configure an SD-WAN Controller in any Cisco SD-WAN environment to advertise from 1 to 32 route-TLOC tuples to edge devices for the same route.
If the configured limit is lower than the number of route–TLOC tuples, the SD-WAN device or SD-WAN Controller advertises only the best routes.
Configure the number of installed OMP paths using CLI commands
Cisco IOS XE Catalyst SD-WAN devices install OMP paths received from the SD-WAN Controller into their local route table. By default, Cisco IOS XE Catalyst SD-WAN devices installs a maximum of four unique OMP paths into its route table. You can modify this number using the CLI add-on template.
Procedure
Example:
Device(config-omp)# ecmp-limit <number-of-paths>
Device(config-omp)# ecmp-limit 2
The maximum number of OMP paths installed can range from 1 through 16.
Configure the OMP hold time using CLI commands
You can modify the OMP hold time interval using CLI commands.
The OMP hold time determines how long to wait before closing the OMP connection to a peer. If the peer doesn’t receive three consecutive keepalive messages within the hold time, the OMP connection to the peer is closed.
The hold time must be at least two times the hello tolerance interval set on the WAN tunnel interface in transport VRF. To configure the hello tolerance interface, use the hello-tolerance command.
We recommend that you configure OMP hold time to 300 seconds. The range is 0 to 65,535 seconds.
Procedure
Example:
Device(config-omp)# timers holdtime <seconds>
Device(config-omp)# timers holdtime 300
Defaults, by Cisco Catalyst SD-WAN Control Components release:
-
20.18.x and later: 300 seconds
-
20.16.x: 5400 seconds
-
20.12.1 to 20.15.x: 300 seconds
-
Before 20.12.1: 60 seconds
Defaults, by Cisco IOS XE Catalyst SD-WAN release:
-
17.18.1 and later: 300 seconds
-
17.16.x: 5400 seconds
The keepalive timer is one-third the hold time and isn’t configurable.
If the local device and the peer have different hold time intervals, the higher value is used.
If you set the hold time to 0, the keepalive and hold timers on the local device and the peer are set to 0.
Configure the OMP advertisement interval and end-of-RIB timer using CLI commands
By default, OMP sends Update packets once per second. You can modify the interval using a CLI command.
After an OMP session goes down and then comes back up, an end-of-RIB (EOR) marker is sent after 300 seconds (5 minutes). After this maker is sent, any routes that weren’t refreshed after the OMP session came back up are considered to be stale and are deleted from the route table. You can also modify the EOR timer using a CLI command.