Run the command set protocol ospf log-adjacency-changes to log changes in OSPF adjacency. Add the optional detail argument to log all changes in adjacency status. Without the detail keyword, only changes to full or regressions are logged.
Run the command delete protocol ospf log-adjacency-changes to delete this configuration.
Command Syntax
set protocol ospf [vrf <vrf-name>] log-adjacency-changes [detail]
delete protocol ospf [vrf <vrf-name>] log-adjacency-changes [detail]
Parameter
Parameter | Description |
vrf <vrf-name> | Optional. Specifies the name of the VRF for the OSPF instance. |
detail | Optional. Specifies to log all changes in adjacency status. |
Example
- Configure OSPF to log all adjacency changes for VRF BLUE.
admin@XorPlus# set protocols ospf vrf BLUE log-adjacency-changes detail admin@Xorplus# commit