Skip to content

Configure IP Address Automatically on IOS XE using Python & Netconf

License

Notifications You must be signed in to change notification settings

ArRosid/netconf-ip-address

Repository files navigation

published

netconf-ip-address

Configure IP Address Automatically on IOS XE devices using Python & NETCONF

This repository contains scripts to configure IP Address on Cisco IOS XE devices automatically using Python and NETCONF. We use the ncclient python library in this script.

Requirements

  • ncclient 0.6.3+
  • Python 2.7 or Python 3.4+
  • setuptools 0.6+
  • Paramiko 1.7+
  • lxml 3.3.0+
  • libxml2
  • libxslt

Supported Devices

  • This script tested with Cisco IOS XE devices

How To Use

  • Install the libraries listed in the requirements
  • Configure IP Address Management in the router
  • Activate NETCONF and YANG in the router using the commands netconf ssh and netconf-yang
  • Edit the inventory.yml to meet your topology
  • Run the script using the command python3 configure_ip_address.py

About

Configure IP Address Automatically on IOS XE using Python & Netconf

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages