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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Unable to assign worst MED for EBGP route

Hi All,

BB2 (AS 254)-------------------------R2(AS 200)

BB2 is adverting prefix 222.22.2.0/24 to R2.folloing is configurtaion on R2..

Rack1R2#sh running-config | b r b
router bgp 200
no synchronization
bgp log-neighbor-changes
bgp bestpath med missing-as-worst <-----------to assign worst MED for ebgp prefixes those with MED=0)
neighbor 192.10.1.254 remote-as 254
neighbor 192.10.1.254 password CISCO

Rack1R2#sh ip bgp
BGP table version is 110, local router ID is 150.1.2.2
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
*> 222.22.2.0       192.10.1.254             0             0 254 ? <-------------------MED is showing zero.

As per my knowldage R2 should assign MED to worst value (e.g.41245484213).

Already tried with hard reset of BGP on BB2 and R2

Please correct my understanding and suggest.

/Ganpat

1 REPLY

Unable to assign worst MED for EBGP route

Hi,

are you sure the

bgp bestpath med missing-as-worst

command is assigning any value to the prefix MED attribute?

My understanding is the router is just considering the prefix like having an infinite MED during the best path selection process, but it does not change the MED value in fact.

I.e., if the prefix with missing MED is chosen as the best one, the router is advertising it with missing MED again.

HTH,

Milan

250
Views
0
Helpful
1
Replies