I have a customer whose 6500's reboot sometimes. When they do, they create interface vlans 1-700 even though most of them should exist. I was wondering if this is possible:
1. Monitor for a "software forced reboot" in syslog (I got this part)
2. Action to compare the interface vlans in a show ip interface brief to the vlan.dat file
3. Action to delete the interface vlans where they don't appear in the vlan.dat file
It isn't a really big deal for this customer. However, they do currently have to manually remove all of the erroneously created interface vlans. The ones that shouldn't exist are all in a "down/down" state. So, I know they don't exist in the vlan.dat file. This problem also causes a significant spike in their syslog server and monitoring software because it begins monitoring all these interface vlans.
Whatever help you can provide, if this is even possible, i'd appreciate it.
Brent