I am looking to to cycle through device interfaces that are only configured with
switchport mode access
And if the interface is missing command these commands add them to the interface
snmp trap mac-notification change added
snmp trap mac-notification change removed
I am using Config Block
config block start - ^interface (Ethernet|TenGigabitEthernet|GigabitEthernet)
config block end - !
So my question is -
Is there a way to only the select the interface block that are in switchport mode access and do not have the needed snmp trap configuration?