log-peer-change
Use log-peer-change to enable logging for neighbor state changes.
Use undo log-peer-change to disable logging for neighbor state changes.
Syntax
log-peer-change
undo log-peer-change
Default
Logging for neighbor state changes is enabled.
Views
OSPFv3 view
Predefined user roles
network-admin
Usage guidelines
This feature enables the device to deliver logs about neighbor state changes to its information center. The information center processes logs according to user-defined output rules (whether and where to output logs). For more information about the information center, see Network Management and Monitoring Configuration Guide.
Examples
# Disable logging for neighbor state changes for OSPFv3 process 100.
<Sysname> system-view [Sysname] ospfv3 100 [Sysname-ospfv3-100] undo log-peer-change