Command:

log-adjacency-changes


Mode:

Router(config-router)#


Syntax:

log-adjacency-changes [detail]
no log-adjacency-changes [detail]

 

Syntax Description:

detail (Optional) Sends a syslog message for each state change, not just when a neighbor goes up or down.

 

Command Description:

To configure the router to send a syslog message when an OSPF neighbor goes up or down, use the log-adjacency-changes command in router configuration mode. To turn off this function, use the no form of this command.

This command is enabled by default.

This command allows you to know about OSPF neighbors going up or down without turning on the debug ip ospf adjacency command. The log-adjacency-changes command provides a higher level view of those changes of the peer relationship with less output. This command is on by default but only up/down (full/down) events are reported, unless the detail keyword is also configured.


Example:

The following example configures the router to send a syslog message when an OSPF neighbor state changes:

Router(config-router)#log-adjacency-changes detail


Misconceptions:

None


Related Commands:

None

� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)