I have this issue sometimes when the MS225 are in a stack and connected with an aggregat to CIsco classic switches. I put an auto shut on error command on the cisco classic switches and after two minutes (120 sec) it´s doing a recovery then everything works well.
Port-config:
interface TenGigabitEthernet2/0/18
description to_ switch_18
switchport trunk allowed vlan 1,8,12,16,20,24,26,28,30,50,52,86,90,300,301
switchport mode trunk
udld port aggressive
channel-group 11 mode active
spanning-tree guard loop
global config for port-recovering:
port-channel load-balance src-dst-ip
errdisable recovery cause udld
errdisable recovery cause bpduguard
errdisable recovery cause security-violation
errdisable recovery cause channel-misconfig
errdisable recovery cause pagp-flap
errdisable recovery cause dtp-flap
errdisable recovery cause link-flap
errdisable recovery cause sfp-config-mismatch
errdisable recovery cause gbic-invalid
errdisable recovery cause l2ptguard
errdisable recovery cause psecure-violation
errdisable recovery cause port-mode-failure
errdisable recovery cause dhcp-rate-limit
errdisable recovery cause pppoe-ia-rate-limit
errdisable recovery cause mac-limit
errdisable recovery cause vmps
errdisable recovery cause storm-control
errdisable recovery cause inline-power
errdisable recovery cause arp-inspection
errdisable recovery cause link-monitor-failure
errdisable recovery cause oam-remote-failure
errdisable recovery cause loopback
errdisable recovery cause psp
errdisable recovery interval 120
license boot level ipbasek9
diagnostic bootup level minimal