Below attributes needs to be set on the port model to generate alarms when anything goes wrong on the port model

ok to poll --> Yes

Alarm on link down trap --> Check status

Generate port status alarms ---> Yes

Poll port status ---> Yes (incase "ok to poll" is set to "no" when there is no active live pipe)

Assert link down alarm --> Yes

The clear event 10d2a will trigger ONLY if the Assert link down alarm is set to yes. If this clear event is missing on any model for an alarm, go to the interface model on which the alarm is triggered -> Attributes tab in component detail panel -> Filter for the attribute " Assert link down alarm" -> Double click to move this to right panel -> Double click to set the attribute in the right panel -> Configure the value to "yes"

Event message of 10d2a : Inference handler has disasserted its link status alarms on Port model ( name - {m}, type - {t} ). This event will trigger if the "Assert link down attribute" on the port model is set to yes.

This should raise the clear event (10d2a) and clear the Bad link alarm in Oneclick.