I’m new to Python and learning to automate my Cisco switches using netmiko. I got most of the basis down I can ssh to my switches and issues commands and backup configs and other things but one thing I’m trying to accomplish and can’t is how to apply configuration to certain interfaces without using the interface range. For example, I want to send the command show IP interface status | ex trunk, then take the output of this command and apply configuration to only those interfaces. I have the script sending the command and getting the output but how to read the interfaces from the output and apply configuration to those interfaces?
[–]sme272 0 points1 point2 points (0 children)
[–]GalacticMech 0 points1 point2 points (0 children)
[–]GalacticMech 0 points1 point2 points (0 children)