This chapter describes the Cisco NX-OS Open Shortest Path First (OSPF) commands that begin with L.
log-adjacency-changes (OSPF)
To configure the router to send a syslog message when the state of an Open Shortest Path First (OSPF) neighbor changes, use thelog-adjacency-changescommand. To turn off this function, use the no form of this command.
log adjacency changes [detail]
Syntax Description
detail
(Optional) Provides all (DOWN, INIT, 2WAY, EXSTART, EXCHANGE, LOADING, FULL) adjacency state changes.
Command Default
The router sends a system message when the state of an OSPF neighbor changes.
Command Modes
Router configuration mode
VRF configuration mode
Command History
Release
Modification
5.2(1)N1(1)
This command was introduced.
Usage Guidelines
Use the log-adjacency-changes command to display high-level changes to the state of the OSPF neighbor relationship. This command is on by default but only reports the up/down (full/down) events if you do not use the detail keyword.
This command requires the LAN Base Services license.
Examples
This example shows how to configure the router to send a system message when an OSPF neighbor state changes: