In this recipe, we will outline how to configure OSPF on Cisco IOS devices with Ansible. Using our sample network topology, we will set up OSPF between core switches and WAN routers, as well as advertising the SVI interface via OSPF.
Configuring OSPF on IOS devices
Getting ready
This recipe assumes that all the interfaces are already configured with the correct IP addresses and are following the same procedures outlined in previous recipes.
How to do it...
- Update the group_vars/core.yml file with the following data to define core links between core switches and WAN routers...