--- title: "BGP Labs: Use BGP Communities in a Routing Policy" url: https://blog.ipspace.net/2023/12/bgp-labs-use-bgp-community/ date: 2023-12-13 lastmod: 2023-12-13 author: "Ivan Pepelnjak" tags: ["BGP","netlab"] --- # BGP Labs: Use BGP Communities in a Routing Policy A [previous BGP lab](https://bgplabs.net/policy/8-community-attach/) focused on the customer side of BGP communities: adding them to BGP updates to influence upstream ISP behavior. [Today's lab](https://bgplabs.net/policy/9-community-use/) focuses on the ISP side of the equation: using BGP communities in a routing policy to implement [RFC 1998-style behavior](https://www.rfc-editor.org/rfc/rfc1998.html). ![](https://bgplabs.net/policy/topology-community-use.png)