BGP Routing Policies
These lab exercises will help you master the essential tools you can use in BGP routing policies. You will also be able to practice creating more complex routing policies.
The labs are grouped into three sections:
- Filtering BGP updates
- Adjusting outgoing traffic flow
- Influencing incoming traffic flow
Filtering BGP Updates
The first thing you should do when you use BGP to connect to the public Internet is limit the information you advertise to your neighbors to the prefixes you own. These labs will help you get there:
- Prevent route leaking between upstream providers with an AS-path filter
- Filter prefixes advertised by your autonomous system with a prefix list
- Minimize the size of your BGP table with inbound filters
Adjusting Outgoing (Egress) Traffic Flow
It’s relatively easy to change how traffic leaves your network (autonomous system) – you have to modify the BGP- and routing tables on your routers. These labs – ranging from simple one-router scenarios to complex network-wide policies – will help you master the BGP tools you can use to get the job done:
- Use BGP weights to prefer one of the upstream providers
- Implement a consistent AS-wide routing policy with BGP local preference.
Once you master the basics, you’ll be ready for more complex scenarios:
Influencing Incoming (Ingress) Traffic Flow
Trying to persuade neighboring autonomous systems to change how they send you the traffic is much more complicated than changing the routing in your network. While there’s no definitive one-size-fits-all solution, you will find these tools indispensable:
- Use MED to Influence Incoming Traffic Flow
- Use AS-Path Prepending to Influence Incoming Traffic Flow
- Attach BGP Communities to Outgoing BGP Updates
More Complex Routing Policies
You use these labs to practice how to use a combination of BGP attributes and routing policy tools to build more complex routing policies:
- Use BGP Communities in Routing Policies.
This exercise combines BGP community lists, route maps, and the BGP local preference.
- Use the backup link to reach the adjacent autonomous system.
This exercise combines AS-path filters, prefix lists, route maps, and the BGP local preference.
- BGP Policy Templates
In this exercise, you’ll learn how to create scalable BGP policy deployments using a combination of AS-path filters, prefix lists, and BGP communities.