log-peer-change

Use log-peer-change to enable logging for OSPF neighbor state changes.

Use undo log-peer-change to disable logging for OSPF neighbor state changes.

Syntax

log-peer-change

undo log-peer-change

Default

Logging for OSPF neighbor state changes is enabled.

Views

OSPF view

Predefined user roles

network-admin

Usage guidelines

This command enables output of OSPF neighbor state changes to the information center. The information center processes the 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 OSPF process 100.

<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] undo log-peer-change