Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

Lower Admin Distance of BGP so EIGRP is higher

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?

Thanks

Charlie

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Lower Admin Distance of BGP so EIGRP is higher

HI Charlie,

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 4.4.4.4/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 100.10.10.5

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> 4.4.4.4/32 10.10.45.4 0 0 100 i

R5#show ip route ospf | inc 4.4

O 4.4.4.4 [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.

Best Regards,

Mounir Mohamed

4 REPLIES

Re: Lower Admin Distance of BGP so EIGRP is higher

HI Charlie,

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 4.4.4.4/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 100.10.10.5

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> 4.4.4.4/32 10.10.45.4 0 0 100 i

R5#show ip route ospf | inc 4.4

O 4.4.4.4 [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.

Best Regards,

Mounir Mohamed

Community Member

Re: Lower Admin Distance of BGP so EIGRP is higher

Thanks Mounir!

I did not do a clear ip bgp x.x.x.x

I will give that a try tomorrow!

Re: Lower Admin Distance of BGP so EIGRP is higher

Well, do it and let know the result.

Please Rate Helpful posts

Best Regards,

Mounir Mohamed

Community Member

Re: Lower Admin Distance of BGP so EIGRP is higher

Mounir,

Clear IP BGP *,

Worked perfectly, Now the network is running exactly how I wanted it.

1452
Views
5
Helpful
4
Replies
CreatePlease to create content