The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This chapter describes the Cisco NX-OS Open Shortest Path First (OSPF) commands that begin with L.
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]
detail |
(Optional) Provides all (DOWN, INIT, 2WAY, EXSTART, EXCHANGE, LOADING, FULL) adjacency state changes. |
The router sends a system message when the state of an OSPF neighbor changes.
|
|
---|---|
5.0(3)N1(1) |
This command was introduced. |
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.
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)#
|
|
---|---|
copy running-config startup-config |
Saves this configuration change to the startup configuration file. |
show ip ospf |
Displays OSPF information. |