Enable or disables OSPFv2 trace flags for debugging. The flags you set are used by the trace level.
trace flags ospf
trace flags ospf remove {none | all | tx-hello | rx-hello | tx-ddp-pkt | rx-ddp-pkt | tx-lsu-pkt | rx-lsu-pkt | tx-lsack | rx-lsack | tx-lsr | rx-lsr | pkt-err | nbr-mismatch | flood | spf-intra | spf-inter | spf-extern | spf-tree | nbr-change | intf-change | abr-lsa-generate | asbr-lsa-generate | dr | dd-masterslave | auth-fail | config | lsa | policy}
trace flags ospf set <none|all|tx-hello|rx-hello|tx-ddp-pkt|rx-ddp-pkt|tx-lsu-pkt|rx-lsupkt|tx-lsack|rx-lsack|tx-lsr|rx-lsr|pkt-err|nbr-mismatch|flood|spf-intra|spf-inter|spfextern|spf-tree|nbr-change|intf-change|abr-lsa-generate|asbr-lsa-generate|dr|ddmasterslave|auth-fail|config|lsa|policy>
By default, all flags are turned off.
User EXEC