![Cisco Nexus 3548 series Command Reference Manual Download Page 238](http://html.mh-extra.com/html/cisco/nexus-3548-series/nexus-3548-series_command-reference-manual_2609162238.webp)
218
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Commands
log-adjacency-changes (OSPF)
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
Command Default
The router sends a system message when the state of an OSPF neighbor changes.
Command Modes
Router configuration mode
Router VRF configuration mode
Command History
Usage Guidelines
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 Enterprise Services license.
Examples
This example shows how to configure the router to send a system message when an OSPF neighbor state
changes:
switch#
configure terminal
switch(config)#
router ospf 209
switch(config-router)#
log-adjacency-changes detail
switch(config-router)#
Related Commands
detail
(Optional) Provides all (DOWN, INIT, 2WAY, EXSTART, EXCHANGE,
LOADING, FULL) adjacency state changes.
Release
Modification
5.0(3)A1(1)
This command was introduced.
Command
Description
show ip ospf
Displays OSPF information.
copy running-config
startup-config
Saves this configuration change to the startup configuration file.