For a while now my log files (and email) have been getting spammed with "Agent Interface Down on interface xxxx Port" alerts. These are just access ports and they are going up or down because a user turns off their computer or undocks their laptop or any number of things that I don't care about.
Now, I can disable them with "disable snmp port-up-down ports " but this requires me to manually identify the ports I do care about, which would be interswitch connections and access point connections.
Surely, I'm not the only person who wants to be alerted when uplinks go down but doesn't care about access ports. Is there a better way to do this other than manually identifying the uplinks? I've got 250+ switches/stacks and 12,000+ ports that I'd like to sort through (some have already been done manually). EDP/CDP can detect neighboring devices and I'm wondering if there is some way to leverage that to my advantage here?
You could also run CLI scripting from within EMC to poll certain commands on all switches such as 'show edp' or 'show cdp' to collect the port information, identifying the uplink ports needed to move forward.
If not, disabling the port up/down trap for all ports and then enabling it for just the uplinks may be a quicker step.