7 Replies Latest reply: May 29, 2019 4:05 PM by Omer RSS

    Automation using Python | Cisco devices

    108sagarh

      Hello!

       

      I have a scenario where in there are devices which are missing certain Spanning-Tree Protocol configuration depending on whether they are end ports / trunk ports. I'm looking for ways to writing a script that will first check whether the port is a trunk port / edge port and depending on the result, send specific commands to make the changes.

       

      Note: I'm not asking for a ready made script. All i'm looking for is the logic on how we can implement this / an example if someone has tried doing this.

       

      Appreciate your thoughts and help!

       

      Regards,

      Sagar Hiremath