Lesson Contents
Cisco SD-WAN uses OMP in the overlay network for routing information, but within a site, it’s possible that you need OSPF (or BGP) to advertise routes with non-SD-WAN devices. In this lesson, I’ll explain how to configure OSPF on a vEdge router.
Configuration
This is the topology:

The two switches and the vEdge router are within a single site. SW1 and SW2 are Cisco IOS switches. I preconfigured these two with OSPF. Next, we’ll configure the vEdge1 router using device and feature templates. I’m using Cisco SD-WAN version 19.3.0.
- Configurations
- vEdge1
- SW1
- SW2
Configurations
Want to take a look for yourself? Here you will find the startup configuration of each device.
vEdge1
SW1
SW2
OSPF Feature Template
Go to Configuration > Templates > Feature > Add Template and select OSPF:

I’ll make a couple of changes here. First, we make the router ID device-specific:

Next, we’ll configure the areas. Click on New Area:

We’ll start with area 0. Set the number and click on Add Interface:

Once again, click on Add Interface:

I’ll make the Interface Name device-specific:

Click on Add to continue. In the Area overview, you see that we now have one interface attached to area 0. Click on Add:

You now see this overview:

Click again on New Area to create area 1. Specify the area number and click on Add Interface:

Once again, click on Add Interface:

I’ll change the Interface Name so that it is device-specific:

Click on Add one more time so that you see this overview:

Good. We now have two areas, each with an interface. That’s all we’ll configure for now. Click on Save to store the template.
Device Template
We can now attach the OSPF feature template to a device template. Go to Configuration > Templates > Device and edit the device template, which is attached to vEdge1:

Scroll down to Service VPN and select OSPF under Additional VPN Templates: