Customers current WAN is using P2P T1s (ML-PPP) Telco sold them a MPLS T1 network as a Backup Network. P2P T1 network is using EIGRP and MPLS is using BGP. My problem is I want to change the admistrative of the Routes learned from BGP (mpls provider) from a weight of 20 to value greater tham 90. This way the primary path is the ML-PPP NxT1 EIGRP links and the back up is MPLS. If MPLS was using Static routes, I would use IP SLA with a Track object on my static routes to the MPLS network.
I have tried the Distance BGP command 200 200 200 and it does not appear to work. But since the documentation says " configure a rating of the trustworthiness of a routing information source" on the Distance BGP command, that is not what I want. Can this be done? or should I go the Static Route way on my MPLS backup WAN network?
To increase BGP AD you can use distance commmand to either increase the AD of all BG routes of specific routes from specific source.
here an example.
Router bgp AS#
distance AD IP Souce Wildcard
In this example i have 2 routers connected via serial interfaces R4 and R5 and both running OSPF and BGP R4 advertise 184.108.40.206/32 via both OSPF and BGP, BGP route selected and installed in the FIB table but once the BGP AD changed OSPF route become the best.
router bgp 200
distance 120 10.10.45.4 0.0.0.0
R5#show ip bg
BGP table version is 4, local router ID is 220.127.116.11
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
r> 18.104.22.168/32 10.10.45.4 0 0 100 i
R5#show ip route ospf | inc 4.4
O 22.214.171.124 [110/2] via 192.168.45.4, 00:06:19, GigabitEthernet0/1
Also i got the same result with the below command.
router bgp 200
distance bgp 200 200 200
Note that hard clear is a must, so don't forget to use clear ip bg x.x.x.x
Please rate helpful posts.