08-01-2024 11:07 PM - edited 08-01-2024 11:28 PM
Dear all,
In my understanding , BGP MED attribute is Optional, Non-transitive so basically it can be received from eBGP peer at once but it is NOT transfer with the received MED value, however the received router can change the BGP attribute policy to transfer to other eBGP peer with received MED value is it possbile?
I think if the received router configures route-map with match ip address acl [routes] and set metric [same value] , it can be possible however it is NOT flexible bacause manually setting the BGP routes and metric.
So my conslution is just to modify AS-PATH attiribute like AS-PATH prepend can be possible for eBGP routing control because it's Transitive, Well-known, so basically send it end-to-end eBGP peer.
I appreciate to let me know if there is other good soltuion.
Best Regards,
Masanobu Hiyoshi
Solved! Go to Solution.
08-02-2024 12:41 AM
> BGP MED attribute is Optional, Non-transitive so basically it can be received from eBGP peer at once but it is NOT transfer with the received MED value
When a BGP speaker learns a route from a peer, the route MED is passed to other interior BGP (iBGP) peers, but not to exterior BGP (eBGP) peers.
> the received router can change the BGP attribute policy to transfer to other eBGP peer with received MED value is it possbile?
Yes
> So my conslution is just to modify AS-PATH attiribute like AS-PATH prepend can be possible for eBGP routing control because it's Transitive, Well-known, so basically send it end-to-end eBGP peer.
It will allow to propogate inforamtion further than adjecent AS. MED will affect only adjecent AS.
08-02-2024 03:13 AM
Hello
Well-known mandatory path attributes must be included with every prefix advertisement;
ORIGIN
AS_PATH
NEXT_HOP
Well-known discretionary path attributes may or may not be included with a prefix advertisement.
LOCAL_PREF
ATOMIC_AGGREGATE
Optional path attributes do not have to be recognised by all BGP implementations. Optional
attributes can be set so that they are transitive and stay with the route advertisement from AS to AS.
AGGREGATOR
COMMUNITY
Optional non-transitive path attributes and cannot be shared from AS to AS.
MULTI_EXIT_DISC (MED)
ORIGINATOR_ID
CLUSTER LIST
08-02-2024 05:53 AM
Simple words
Transitive vs Non-transitive
Different is MED is pass only to one AS direct connect
As-path pass many AS
That big difference between two attributes
MHM
08-02-2024 12:41 AM
> BGP MED attribute is Optional, Non-transitive so basically it can be received from eBGP peer at once but it is NOT transfer with the received MED value
When a BGP speaker learns a route from a peer, the route MED is passed to other interior BGP (iBGP) peers, but not to exterior BGP (eBGP) peers.
> the received router can change the BGP attribute policy to transfer to other eBGP peer with received MED value is it possbile?
Yes
> So my conslution is just to modify AS-PATH attiribute like AS-PATH prepend can be possible for eBGP routing control because it's Transitive, Well-known, so basically send it end-to-end eBGP peer.
It will allow to propogate inforamtion further than adjecent AS. MED will affect only adjecent AS.
08-02-2024 03:13 AM
Hello
Well-known mandatory path attributes must be included with every prefix advertisement;
ORIGIN
AS_PATH
NEXT_HOP
Well-known discretionary path attributes may or may not be included with a prefix advertisement.
LOCAL_PREF
ATOMIC_AGGREGATE
Optional path attributes do not have to be recognised by all BGP implementations. Optional
attributes can be set so that they are transitive and stay with the route advertisement from AS to AS.
AGGREGATOR
COMMUNITY
Optional non-transitive path attributes and cannot be shared from AS to AS.
MULTI_EXIT_DISC (MED)
ORIGINATOR_ID
CLUSTER LIST
08-02-2024 05:53 AM
Simple words
Transitive vs Non-transitive
Different is MED is pass only to one AS direct connect
As-path pass many AS
That big difference between two attributes
MHM
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