Traps are the notifications sent from a router to inform the NMS of the fault detected by the system.
system-view
snmp-agent trap enable feature-name ospf [ trap-name { hwospfv2intraareadripaddressconflict | hwospfv2intraarearouteridconflict | ospfifauthfailure | ospfifconfigerror | ospfifrxbadpacket | ospfifstatechange | ospflsdbapproachingoverflow | ospflsdboverflow | ospfmaxagelsa | ospfnbrrestarthelperstatuschange | ospfnbrstatechange | ospfnssatranslatorstatuschange | ospforiginatelsa | ospfrestartstatuschange | ospftxretransmit | ospfvirtifauthfailure | ospfvirtifconfigerror | ospfvirtifrxbadpacket | ospfvirtifstatechange | ospfvirtiftxretransmit | ospfvirtnbrrestarthelperstatuschange | ospfvirtnbrstatechange } ]
To enable the traps of one or more events, you can specify type-name.