Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 1.25 KB

prefix-filtering.md

File metadata and controls

22 lines (13 loc) · 1.25 KB
copyright lastupdated keywords subcollection
years
2022, 2025
2022-4-29
direct link
dl

{{site.data.keyword.attribute-definition-list}}

Filtering routes by using Transit Gateway prefix filtering

{: #prefix-filtering}

If you use IBM Cloud Transit Gateway with IBM Cloud Direct Link, you can filter direct link routes by using the Transit Gateway prefix filtering capability. For example, if a direct link is connected to a transit gateway, place the filters on the transit gateway/direct link connection as shown. This feature allows you to control what prefixes are learned by the transit gateway. It is also advantageous if you have dozens of on-prem prefixes, but want the VPC connection to be able to talk to only one prefix, or a select few.

The prefix filter will only filter prefixes into the transit gateway. There is no prefix filter to block prefixes that are learned by the transit gateway out to networks that are connected to it. This means that the direct link sees all the prefixes from all the networks that participate in the transit gateway.

Filtering routes by using Transit Gateway prefix filtering{: caption="Filtering routes using Transit Gateway prefix filtering" caption-side="bottom"}