0% found this document useful (0 votes)
70 views3 pages

Using BGP Communities To Control Upstream Routing Policy

This document describes using BGP communities to control upstream routing policies. [1] BGP communities are optional attributes that can be used by upstream service providers to apply routing policies. [2] The network topology includes RREN-01, NREN-A, campus routers, and a Tier 1 ISP. [3] The lab tasks demonstrate using communities to signal service classification and control traffic engineering. Communities are used to prevent certain prefixes from being advertised to the Tier 1 ISP and to set local preference values to influence path selection.

Uploaded by

Lucia Zimba
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
70 views3 pages

Using BGP Communities To Control Upstream Routing Policy

This document describes using BGP communities to control upstream routing policies. [1] BGP communities are optional attributes that can be used by upstream service providers to apply routing policies. [2] The network topology includes RREN-01, NREN-A, campus routers, and a Tier 1 ISP. [3] The lab tasks demonstrate using communities to signal service classification and control traffic engineering. Communities are used to prevent certain prefixes from being advertised to the Tier 1 ISP and to set local preference values to influence path selection.

Uploaded by

Lucia Zimba
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Lab 4

Using BGP Communities to


Control Upstream Routing Policy
1. Introduction

BGP communities are optional transitive attributes that can traverse from one autonomous
system to another. While communities do not alter the BGP best path process, upstream service
provider routers can use them to apply specific routing policies (for example, to set the local
preference, filter or blackhole prefixes) within their network.

2. Network Topology
Figure 2: IP addressing scheme

3. Lab Tasks

● To enable signalling by its downstream clients, RREN-01 has published the following
communities.

Community Action

64500:7000 Do NOT advertise to transits

64500:8888 Blackhole

64500:9080 Set local preference 80

64500:9120 Set local preference 120


Table 1: Signaling communities
3.1.1 Part 1: Use communities to signal upstream service classification

● Note that Campus-A-03 subscribes to REN service (RREN, NREN and campuses but no
transit). Refer to table 2 below.

Entity Services subscribed to

Campus-A-01 Transit and REN service (including campuses)

Campus-A-02 Local REN service (REN-A and Campuses only)

Campus-A-03 REN service (RREN and campuses, no transit)

Campus-A-04 REN and transit through RREN-01


Table 2: Services subscription

● Log on to the RREN01 router and implement a policy to prevent prefixes tagged with
64500:7000 from being advertised to the Tier1 ISP.
● Go to PE2 and modify communities set in lab 3 (for Campus-A-03) to include action
community 64500:7000 published by RREN-01.
● Verify that Campus-A-03 prefixes are no longer visible in the Tier1 BGP table.

Stop: Inform your instructor that you have completed part 1.

3.1.2 Part 2: Use communities to control upstream traffic engineering

● In RREN-01,
o match prefixes with community 64500:9080 and apply local-preference 80.
o match prefixes with community 64500:9120 and apply local-preference 120.
● On one of the BGP sessions between NREN-A and RREN-01, mark NREN-A prefixes
with community 64500:9080
● Log on to the RREN-01 router and verify the best path to NREN-A
● Go to NRENA and change the community from 64500:9080 to 64500:9120
● Log on to RREN-01 router and again verify the best path to NREN-A

Stop: Inform your instructor that you have completed part 2

4. Conclusion
We have seen how to influence upstream routing policies using BGP communities. Workshop
participants are encouraged to use the UbuntuNet Alliance virtual routing platform to experiment
with more challenging scenarios.

END

You might also like