cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2033
Views
80
Helpful
16
Replies

BGP -Best path selection

Cisconew
Level 1
Level 1
Hi all,
I have configured BGP on R1,R2 & R3.

R1 & R2 : IBGP : (ASN: 65100)

R3 - ASN: 64519

R3 received 192.169.1.0/24 prefix from R1 & R2. 

R3 chosen route from R2 as best path.
Based on which attribute R3 selected the best Path? 

 

Can someone explain, why ?

Network Topology:

2022-02-25 (2).png

Show bgp commands for reference:

2022-03-03 (4).png

 

2022-03-03 (5).png

 

16 Replies 16

Hello @MHM Cisco World 

the reason for the med looks like only a single ibgp rtr  is originating the prefix but as stated if both Ibgp rtrs originated it then all things will be equal up to the comparing the rids


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Yes but the R2 inject router and add MED attribute and MED not pass AS boundary, so R1 will forward router to R3 without the MED.
Issue here that the R3 receive the router from two paths one with MED and other without MED value, this make R3 prefer the path with lowest MED value which is through R2.

Review Cisco Networking for a $25 gift card