Enabling logging for neighbor state changes

With this feature enabled, the router delivers logs about neighbor state changes to its information center. The information center processes logs according to user-defined output rules (whether to output logs and where to output). For more information about the information center, see Network Management and Monitoring Configuration Guide.

To enable logging for neighbor state changes:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter OSPFv3 view.

ospfv3 [ process-id | vpn-instance vpn-instance-name ] *

N/A

3. Enable logging for neighbor state changes.

log-peer-change

By default, this feature is enabled.