Enable OSPF traps.
default trap
default trap enable
no trap
no trap enable
trap enable
The default value is disable.
OSPF Router Configuration