I have an ASR9K pair running BGP with a provider. The provider will send only a BGP default route. The ASR9K pair run HSRP. Is it possible to have the HSRP track the presence of the BGP default and reduce priority in its absence? The ASR9Ks will also be running OSPF and originating a default without "always" keyword so will stop doing so when it loses the BGP default. I would also like that router to reduce its HSRP priority in this event.
When I try to create a tracking object with the route 0.0.0.0/0 the configuration appears but with an error.
RP/0/0/CPU0:iosxrv-2(config-track)#type route reachability route ipv4 0.0.0.0/0
RP/0/0/CPU0:iosxrv-2(config-track)#
Uncommitted changes found, commit them before exiting(yes/no/cancel)? [cancel]:yes
% Failed to commit one or more configuration items. Please issue 'show configuration failed [inheritance]' from this session to view the errors
RP/0/0/CPU0:iosxrv-2(config)#s
sam sap save scripting
segment-routing selective-vrf-download service show
snmp-server srlg ssh ssm
ssrp statistics switch-fabric
RP/0/0/CPU0:iosxrv-2(config)#show configuration failed
Thu Jul 27 14:50:34.067 UTC
!! APPLY ERRORS: This configuration was accepted by the system,
!! but errors occurred when the system attempted to make the
!! configuration operational. The individual errors for each
!! failed configuration command can be found below. These errors
!! will cause an inconsistency between the system's running
!! configuration and its operational state, which may be addressed
!! by using the 'no' form of the command to remove it from the
!! running configuration.
track 1
type route reachability
route ipv4 0.0.0.0/0
!!% Invalid argument
!
!
end
RP/0/0/CPU0:iosxrv-2(config)#
RP/0/0/CPU0:iosxrv-2#
Am I making a config error that can be corrected or am I trying the impossible?