I’ve just implemented this simple filter for Filtering LinkStateUp and LinkStateDown on Extreme Switches. I had an issue on an Extreme switch stack that required me to check the logs to see what had been going on. My problem is that the switch stack had filled the 1000 log buffer entries with linkstateup and linkstatedown events as users had come in to work and started up/shut down their PC’s. The simple fix here will allow filtering LinkStateUp and LinkStateDown on Extreme switches.
The below script also increases the log buffer from 1000 messages to 5000. This is great for Workstation/Edge switches, I’d recommend leaving these log messages for any Server/Core switches.