Richard Burts Tue, 10/09/2007 - 12:53

Rob and Joe

I think that we need to be careful to understand what this question means. According to the command reference the log-adjacency-changes is enabled by default. So it is not necessary for this command to be specifically entered or to appear in the running config for the messages to be logged.

Here is the relevant section of the command reference:

log-adjacency-changes

To configure the router to send a syslog message when an Open Shortest Path First (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.

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.

Defaults

Enabled

Command Modes

Router configuration

HTH

Rick

Joe Clarke Tue, 10/09/2007 - 13:15

While you are correct, this is one of those commands that shows up in the config even though it's the default. Therefore, if you don't see it, or haven't explicitly executed it, chances are you will not see those syslog messages.

This could change in a newer IOS (or vary across trains), so it's a good idea to make sure you explicitly add this command if you care to see those messages.

Actions

This Discussion