I have Cisco 2921 with EHWIC-4ESG in slot0 and stack of Cisco 3750-X-24 (2 switches).
Gi0/0/0 on 2921 connected to Gi1/0/11 on 3750, Gi0/0/1 on 2921 connected to Gi2/0/11 on 3750
Gi0/0/0 and Gi0/0/1 was configuted as:
switchport access vlan 7
switchport mode trunk
storm-control broadcast level 30.00 15.00
Gi1/0/11 and Gi2/0/11 was configured as:
switchport access vlan 7
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,7,1002-1005
switchport mode trunk
OSPF was configured on 2921 and 3750 through interface vlan 7 (vlan 7 exists on 2921 and 3750)
2921 is new router, it was connected in Tuesday. Port Gi0/0/1 was blocked by spanning tree. OSPF was working. Everithing was ok.
Today (Friday) 2921 was reloaded and while booting i see error in log:
Apr 26 07:34:55: %SM-4-BADEVENT: Event 'link_up' is invalid for the current state 'trunk': pm_port_eswilp 0/1 -Traceback= 0x216A1100z
OSPF dosn't work.
I change configuration on Gi0/0/0 and Gi1/0/11 from trunk to access mode, and everithing became OK again.
I dont understand what's the problem I have. Is it bad EHWIC or thunk misconfiguration (but it warks for 3 days)