set protocols ospf log-adjacency-changes
Run the command set protocols ospf log-adjacency-changes to log changes in OSPF adjacency state. Optional parameter instance-id can be included to specify the OSPFv2 multi-instance ID in the default VRF. Add the optional detail argument to log all changes in adjacency state. Without the detail keyword, only changes to full or regressions are logged. You can optionally specify the VRF for the single instance OSPF in the non-default VRF for this command to take effect.
Multiple instances of OSPF are only allowed in the default VRF. A maximum of 8 instance can be configured in the default VRF. In non-default VRFs, only single instance OSPF can be configured.
Run the command delete protocols ospf log-adjacency-changes to delete this configuration.
Command Syntax
set protocols ospf [instance-id <instance-id> | vrf <vrf-name>] log-adjacency-changes [detail]
delete protocols ospf [instance-id <instance-id> | vrf <vrf-name>] log-adjacency-changes [detail]
Parameter
Parameter | Description |
instance-id <instance-id> | Optional, specifies the OSPF instance ID. The value is an integer that ranges from 1 to 8. |
vrf <vrf-name> | Optional. Specifies the name of the VRF for the OSPF instance. |
detail | Optional. Specifies to log all changes in adjacency state. |
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
Copyright © 2024 Pica8 Inc. All Rights Reserved.