|---------------------------> B Router -------------------------------------------|
Router A & B are both running BGP with Serice provider and resdistributing all the prefixes in EIGRP process.
I want the prefixes learned by core switch from Router B to be alwayz primary and prefixes from Router A to always be secondary.
I have planned the Below config for router A
Route eigrp <>
redistribution bgp <> metric
distance 175 0.0.0.0 0.0.0.0 20
IN the Above Config will all the routes redistributed from bgp into EIGRP process get the admin distance of 175???, and will this be propogated to the core switch???? where in core switch has rotues from Router B with admin distacne of 170 and routes from router A with admin distance of 175.
There are much easier ways to achieve what you want -
1) if the remote network are summarisable then from router A advertise an EIGRP summary address on the link to the core switch using the interface command "ip eigrp summary-address ...."
That way the more specific routes are advertised from B and will be used unless the link goes down and then the summary route to A will be used.
2) if the networks are not summarisable then you can use an offset-list on router A to make the metrics of the routes received from A higher than those from B so again B will be preferred to A in normal circumstance.
Both these solutions would in my opinion be better than changing the AD.
Jon and Chris have both given good answers that address the fact that changing the admin distance would not be an effective solution and have proposed other solutions. But neither of them has suggested what I regard as the easiest and most effective solution. When you redistribute BGP into EIGRP you must set a metric for the redistributed routes. Just set the metric of redistribution higher on A and all routes will be preferred that come from B.
Summarization, and offset lists, and changing delay on secondary paths are all solutions that would work. But nothing is easier or more effective than changing the metric at the point of redistribution.
This is actually a pretty cool feature, i didn't even know it existed until I was looking for a solution to advertise a subnet (prefix in BGP talk), only if a certain condition existed. This is exactly what conditional advertisements does
j ai une question j ai achete un routeur cisco 887VA-k9 , je le configuré avec la configuration ci- dessous
si je le lier avec mon pc portable sur l un de ses ports directement ça marche toute est bien ( la connexion internet + m...
Attached policy provides CLI access to the Cisco 4G router over text messaging. Two files are in the attached .tar file:
2. PDF with instructions on how to load and use the .tcl file.