L Commands
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 the log-adjacency-changes command. To turn off this function, use the no form of this command.
log adjacency changes [ detail ]
Syntax Description
(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
Command History
|
|
---|---|
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.
Examples
This example shows how to configure the router to send a system message when an OSPF neighbor state changes:
Related Commands
|
|
---|---|
Saves this configuration change to the startup configuration file. |
|