Wednesday, March 17, 2021

How to add ports to an existing vlans using NETCONF and python in Cisco iosxe switches?

Hey guys, I am quite new to networking. I understand the overall picture of NETCONF/YANG/XML and the need for NETCONF and YANG data models and so on. I have configured my switch to use NETCONF and created VLANs using ssh.

However, I would like to add ports to an existing VLAN using python. I found scripts to create a vlan but I would like to add ports and remove these ports from the VLAN using the python module ncclient?

Any python scripts or useful links or blog posts would be really helpful.

Thank you.



No comments:

Post a Comment