Configure IP Address, DHCP Server and OSPF automatically using Netmiko
This repository contains two scripts to configure IP Address, DHCP Server, and OSPF automatically using Netmiko. The first script is inventory.yml. It contains data about the router. The second script is a Python script that performs the automation.
You can automate OSPF & DHCP Configuration with differents topologies using this script. You just need to edit the inventory.yaml to align with the topology that you have.
- netmiko release 2.2.2 or later
- This script supports Cisco IOS network devices (e.g. router, switch)
- Ensure you setup the topology
- Configure Management IP Address and enable SSH in the network device
- Edit the inventory.yaml to align with your topology
- Run the script python3 script.py