OSPFv2 event logging can be configured, disabled, and re-enabled.
-
Enter the
configure terminal command to access global configuration mode.
device# configure terminal
-
Enter the
router ospf command to enter OSPF router configuration mode and enable OSPFv2 globally.
device(config)# router ospf
-
Enter the
no log all command to disable the logging of all OSPFv2 events.
device(config-ospf-router)# no log all
The following example re-enables the logging of all OSPFv2 events.
device# configure terminal
device(config)# router ospf
device(config-ospf-router)# log all