Skip to content

BGP community TVIF

0

Dear Team - As per https://docs.aws.amazon.com/directconnect/latest/UserGuide/routing-and-bgp.html,

Local preference is the BGP attribute recommended to use when desired routing paths are meant for active/passive connections and the prefix lengths advertised are the same. This value is set per Region to prefer AWS Direct Connect Locations that have the same associated AWS Region using the 7224:7200—Medium local preference community value.

now with below scenario, if i advertised same prefix route from London by configuring BGP community 7224:7200, this will ECMP the traffic, right ?

i do not need to set 7224:7200 BGP community manually on prefix from NY location , right ?

  • VPC Region US-EAST-1
  • TVIF-1 from NY POP
  • TVIF-2 from London POP

Thanks Team.

  • please accept the answer if it was helpful

asked 2 years ago354 views
1 Answer
1

BGP Community 7224:7200

The community 7224:7200 sets a medium local preference, which AWS uses to prefer Direct Connect locations associated with the same AWS Region. This community tag is particularly useful when you have multiple Direct Connect connections and you want to set preferences for certain paths over others.

Equal-Cost Multi-Path (ECMP) Routing

When you advertise the same prefix from both New York and London with the BGP community 7224:7200, AWS will see both paths as equal in preference due to the same BGP community. This will indeed lead to ECMP, where traffic can be distributed across both paths.

Do You Need to Set the BGP Community Manually in NY?

  • For London: By setting 7224:7200, you indicate a medium local preference for the London route.
  • For New York: If you want to ensure ECMP across both New York and London, you should also set the same BGP community (7224:7200) for the prefixes advertised from New York. This ensures that both routes are treated equally by AWS, resulting in balanced traffic distribution.
EXPERT
answered 2 years ago
EXPERT
reviewed a year ago
  • yes, i got that but the reason i ask because as per documentation,

    This value is set per Region to prefer AWS Direct Connect Locations that have the same associated AWS Region using the 7224:7200—Medium local preference community value so it seems to me that AWS already consider 7200 for NY prefix as associated location for us-east-1 home region.

    So it is mandatory to set 7200 for NY as well if there is need for ECMP between London and NY, right ?

  • In such scenarios, we recommend setting the 7224:7200 community tag explicitly on both connections to ensure the desired routing behavior.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.