...
RP/0/RSP0/CPU0:ASR9904-D#show cef 8.8.8.8 hardware ingress detail location 0/0/CPU0 | include "leaf_ptr|fastNR-LDI" Tue Dec 8 13:41:27.164 UTC leaf_ptr: 0x3466(LE) bgp_next_hop: 0x7070707 <<< leaf doesn't match with index fastNR-LDI H/W Result for path 0 [Common to all NPs: index: 0x3408 (BE)] <<<
Upon changing number of nexthops/ECMP count, the second level recursion doesn't back walk completely which causes leaf to point to old NRLDI pointer. This issue will happen only when you have global BGP, no LDP and all the IGP paths are only tunnels.
Clear route ipv4 or clear cef ipv4 linecard location
RP/0/RSP0/CPU0:ASR9904-D#show cef 6.6.6.6 hardware ingress detail location 0/0/CPU0 | include "leaf_ptr|fastNR-LDI" Tue Dec 8 13:39:37.077 UTC fastNR-LDI H/W Result for path 0 [Common to all NPs: index: 0x3466 (BE)] fastNR-LDI H/W Result for path 1 [Common to all NPs: index: 0x3467 (BE)] RP/0/RSP0/CPU0:ASR9904-D# RP/0/RSP0/CPU0:ASR9904-D#show cef 7.7.7.7 hardware ingress detail location 0/0/CPU0 | include "leaf_ptr|fastNR-LDI" Tue Dec 8 13:39:39.192 UTC leaf_ptr: 0x3466(LE) bgp_next_hop: 0x6060606 fastNR-LDI H/W Result for path 0 [Common to all NPs: index: 0x3466 (BE)] fastNR-LDI H/W Result for path 1 [Common to all NPs: index: 0x3467 (BE)] RP/0/RSP0/CPU0:ASR9904-D# RP/0/RSP0/CPU0:ASR9904-D#show cef 8.8.8.8 hardware ingress detail location 0/0/CPU0 | include "leaf_ptr|fastNR-LDI" Tue Dec 8 13:39:52.494 UTC leaf_ptr: 0x3466(LE) bgp_next_hop: 0x7070707 fastNR-LDI H/W Result for path 0 [Common to all NPs: index: 0x3466 (BE)] <<<<<<< Matches fastNR-LDI H/W Result for path 1 [Common to all NPs: index: 0x3467 (BE)] Upon changing number of nexthops/ECMP count, the second level recursion doesn't back walk completely which causes leaf to point to old NRLDI pointer RP/0/RSP0/CPU0:ASR9904-D(config)#router static RP/0/RSP0/CPU0:ASR9904-D(config-static)# address-family ipv4 unicast RP/0/RSP0/CPU0:ASR9904-D(config-static-afi)# 0.0.0.0/0 172.18.120.129 RP/0/RSP0/CPU0:ASR9904-D(config-static-afi)#no 6.6.6.6/32 tunnel-te8110 permanent <<< removed RP/0/RSP0/CPU0:ASR9904-D(config-static-afi)#commit RP/0/RSP0/CPU0:ASR9904-D# RP/0/RSP0/CPU0:ASR9904-D#show cef 6.6.6.6 hardware ingress detail location 0/0/CPU0 | include "leaf_ptr|fastNR-LDI" Tue Dec 8 13:41:16.111 UTC fastNR-LDI H/W Result for path 0 [Common to all NPs: index: 0x3408 (BE)] RP/0/RSP0/CPU0:ASR9904-D#show cef 7.7.7.7 hardware ingress detail location 0/0/CPU0 | include "leaf_ptr|fastNR-LDI" Tue Dec 8 13:41:20.575 UTC leaf_ptr: 0x3408(LE) bgp_next_hop: 0x6060606 fastNR-LDI H/W Result for path 0 [Common to all NPs: index: 0x3408 (BE)] RP/0/RSP0/CPU0:ASR9904-D#show cef 8.8.8.8 hardware ingress detail location 0/0/CPU0 | include "leaf_ptr|fastNR-LDI" Tue Dec 8 13:41:27.164 UTC leaf_ptr: 0x3466(LE) bgp_next_hop: 0x7070707 <<<< leaf doesn't match with index fastNR-LDI H/W Result for path 0 [Common to all NPs: index: 0x3408 (BE)] <<<<