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
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
Command HistoryRouter configuration mode
Router VRF configuration mode
|
|
---|---|
5.0(3)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:
switch(config)# router ospf 209
switch(config-router)# log-adjacency-changes detail
switch(config-router)#
Related Commands
|
|
---|---|
copy running-config startup-config |
Saves this configuration change to the startup configuration file. |
show ip ospf |
Displays OSPF information. |