Cisco Nexus 6000 Series NX-OS Unicast Routing Command Reference
L Commands
Downloads: This chapterpdf (PDF - 50.0 KB) The complete bookPDF (PDF - 4.32 MB) | Feedback

Table of Contents

L Commands

log-adjacency-changes (OSPF)

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

Router configuration mode

VRF configuration mode

Command History



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.


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

Related Commands


copy running-config startup-config

Saves this configuration change to the startup configuration file.

show ip ospf

Displays OSPF information.