07-02-2022 10:04 AM - last edited on 07-04-2022 10:19 AM by Translator
I have a simple scenario as in the diagram:
I am advertising a route 40.40.40.0/24 from R4 to AS 100.
When I verify BGP table in the R1,R2,R3:
R1#show ip bgp
BGP table version is 8, local router ID is 1.1.1.1
Network Next Hop Metric LocPrf Weight Path
* i40.40.40.0/24 3.3.3.3 0 100 0 200 i
*>i 2.2.2.2 0 100 0 200 i
R2#show ip bgp
BGP table version is 7, local router ID is 2.2.2.2
Network Next Hop Metric LocPrf Weight Path
* i40.40.40.0/24 10.34.0.4 0 100 0 200 i
*> 10.24.0.4 0 0 200 i
R3#show ip bgp
BGP table version is 4, local router ID is 3.3.3.3
Network Next Hop Metric LocPrf Weight Path
*> 40.40.40.0/24 10.34.0.4 0 0 200 i
* i 10.24.0.4 0 100 0 200 i
=============================================================================================
Problem is when I am applying MED value on the advertised route towards R2 the bgp table of R1 and R3 only shows one entry.
R4#show run | s bgp
router bgp 200
no synchronization
bgp log-neighbor-changes
network 40.40.40.0 mask 255.255.255.0
neighbor 10.24.0.2 remote-as 100
neighbor 10.24.0.2 route-map MED_OUT out
neighbor 10.34.0.3 remote-as 100
no auto-summary
route-map MED_OUT permit 10
match ip address prefix-list ADV_ROUTE
set metric 444
R4#show ip prefix-list
ip prefix-list ADV_ROUTE: 1 entries
seq 10 permit 40.40.40.0/24
R1#show ip bgp
Network Next Hop Metric LocPrf Weight Path
*>i40.40.40.0/24 3.3.3.3 0 100 0 200 i
R2#show ip bgp
Network Next Hop Metric LocPrf Weight Path
*>i40.40.40.0/24 10.34.0.4 0 100 0 200 i
* 10.24.0.4 444 0 200 i
R3#show ip bgp
Network Next Hop Metric LocPrf Weight Path
*> 40.40.40.0/24 10.34.0.4 0 0 200 i
Why on R1 and R3 the route with metric 444 is not shown, I saw an example in the GNS3 Lab which is showing the routes??
Is this is issue with GNS or IOS?
I used c3640 and c7200.
This also happens when I configure
LOCAL_PREF
Solved! Go to Solution.
07-03-2022 04:14 AM - last edited on 07-04-2022 10:49 AM by Translator
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide