I have this configuration:
router eigrp 1
network 10.10.0.0 0.0.0.3
redistribute static route-map MAP1
redistribute bgp 65001 route-map MAP1
ip prefix-list NETS seq 10 permit 10.0.0.0/24 le 32
ip prefix-list NETS seq 20 permit 126.96.36.199/24 le 32
ip prefix-list NETS seq 30 permit 188.8.131.52/24 le 32
route-map MAP1 permit 10
match ip address prefix-list NETS
set metric 1000000 1 255 1 1500
When I remove from prefix list ip prefix list NETS permit 184.108.40.206/24 le 32, route 220.127.116.11/24 is stil redistributed and advertised (and I can see it with show ip eigrp topology 18.104.22.168/24) until I issue commad clear ip route *.
Is it always necessary to issue command clear ip route * when something is changed in prefix-list (regarding redistribution)? And does this apply for all dynamic routing protocols (EIGRP, OSPF, BGP, RIP) when redistribution is used?
Thanks in advance,
I'd say YES, this is the best practise.
Even while some routing protocols are sending the whole route table periodically (RIP, OSPF), if you change the prefix-list or distribution filter the receiving protocol might never receive the updated info for specific prefixes and they might stay in the routing table for ever theoretically.