Sunday, August 1, 2021

Python script to check individual ports for specific command

Hi Guys,

I need to do an audit of which ports on all of our switches have 802.1x enabled, I know the command I’m looking for I just need to know how to write a script that will check the port config of each individual port and see if that command is there and if not there make a note of it to a txt file. Any help or resources on how to do this would be greatly appreciated.

I know how to connect to switches with Netmiko and issue commands I just can’t figure out how to make it check individual port config for specific commands.

Thanks



No comments:

Post a Comment