93To do… Use the command… RemarksEnable OSPF trapgenerationsnmp-agent trap enable ospf [ process-id ][ ifauthfail | ifcfgerror | ifrxbadpkt |ifstatechange | iftxretransmit |lsdbapproachoverflow | lsdboverflow |maxagelsa | nbrstatechange | originatelsa| vifcfgerror | virifauthfail | virifrxbadpkt| virifstatechange | viriftxretransmit |virnbrstatechange ] *OptionalEnabled by defaultEnabling message loggingFollow these steps to enable message logging:To do… Use the command… RemarksEnter system view system-view —Enter OSPF view ospf [ process-id | router-id router-id |vpn-instance vpn-instance-name ] * —Enable message logging enable log [ config | error | state ] RequiredNot enabled by default.Enabling the advertisement and reception of opaque LSAsWith this feature enabled, OSPF can receive and advertise Type 9, Type 10, and Type 11 opaque LSAs.Follow these steps to enable the advertisement and reception of opaque LSAs:To do… Use the command… RemarksEnter system view system-view —Enter OSPF view ospf [ process-id | router-id router-id |vpn-instance vpn-instance-name ] * —Enable the advertisement andreception of opaque LSAs opaque-capability enable OptionalDisabled by defaultConfiguring OSPF to give priority to receiving and processinghello packetsTo ensure OSPF runs properly, a router receives and processes hello packets and other protocol packetsat the same time. When the router has established neighbor relationships with multiple routers, and therouting table size is big, the router must receive and process large numbers of packets. In this case, youcan configure OSPF to give priority to receiving and processing hello packets to ensure stable neighborrelationships.Follow these steps to configure OSPF to give priority to receiving and processing hello packets:To do… Use the command… RemarksEnter system view system-view —