logging neighbor-adjacency
Syntax
logging neighbor-adjacency [ detail
]
Description
Used in the ospf3 context to enable logging of standard or detailed adjacency changes. In the default configuration, logs OSPFv3 neighbor changes into or out of the full adjacency state.
Options
detail
Generates event log messages for all OSPFv3 neighbor adjacency state changes.
no logging neighbor-adjacency
Disables logging neighbor adjacency on the routing switch.
no logging neighbor-adjacency
detail
Cancels detailed neighbor adjacency change logging and returns the routing switch to logging only neighbor changes into our out of full adjacency.
Default: Standard full adjacency changes logging enabled.
The neighbor-adjacency event log messages are described in the latest Event Log Reference Guide for your routing switch. In the event log output, neighbors are identified by router ID.
Example output
This example shows the neighbor-adjacency change
logging using show log -r OSPF3
command.
Switch(ospf3)# show log -r OSPF3:
Keys: W=Warning I=Information
M=Major D=Debug E=Error
---- Reverse event Log listing: Events Since Boot ----
e 05/01/10 15:21:09 02809 OSPF3: ADJCHG: Neighbor 15.255.155.1 on interface
vlan-22 moved to Down state, Inactivity Timer
e 04/27/10 14:36:48 02809 OSPF3: ADJCHG: Neighbor 10.10.10.45 on interface
vlan-11 moved to Full state, Loading Done
Switch(ospf3)# show log -r OSPF3:
Keys: W=Warning I=Information
M=Major D=Debug E=Error
---- Reverse event Log listing: Events Since Boot ----
e 05/01/10 15:21:09 02809 OSPF3: ADJCHG: Neighbor 15.255.155.1 on interface
vlan-22 moved to Down state, Inactivity Timer
e 04/27/10 14:36:48 02809 OSPF3: ADJCHG: Neighbor 10.10.10.45 on interface
vlan-11 moved to Full state, Loading Done