This repository is deprecated; please follow the main search page or use the ‘Related code repos’ widget on the right side of the current page.

published

Netmiko for OSPF & DHCP Automation

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.

Requires

  • netmiko release 2.2.2 or later

Supports

  • This script supports Cisco IOS network devices (e.g. router, switch)

How to use

  • 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
View code on GitHub
  • Owner

  • Contributors

    +2Github contributors
  • Categories

  • Programming Languages

    Python
  • License

    MIT License

Code Exchange Community

Get help, share code, and collaborate with other developers in the Code Exchange community.View Community
Disclaimer:
Cisco provides Code Exchange for convenience and informational purposes only, with no support of any kind. This page contains information and links from third-party websites that are governed by their own separate terms. Reference to a project or contributor on this page does not imply any affiliation with or endorsement by Cisco.