BGP in depth lab 4 of 14
BGP communities of every size
Kestrel Fibre lets customers steer their own routes with communities. Build the menu end to end: standard communities that set local preference, the well-known no-export and no-advertise, extended route-target tags, and large communities for a customer with a 4-byte AS number, which pass straight through routers that can't read them.
Run this lab
It needs Lite: its 5 nodes are set to 5 vCPU and 3,840 MB in total. That fits the free demo too.
In your workspace: Shared, then BGP in depth guided labs, then 04 - BGP communities of every size
- Level
- Advanced
- Time
- About 90 minutes
- Nodes need
- 5 vCPU, 3,840 MB
- Smallest plan
- Lite
The scenario
Kestrel Fibre publishes a community menu, so that customers can steer their own routes without raising a ticket. You're bringing the menu to life.
| Community | Meaning |
|---|---|
| 64500:120 | Kestrel, set local preference 120 |
| 64500:80 | Kestrel, set local preference 80 |
| no-export | Well known: keep inside this AS |
| no-advertise | Well known: don't pass to any peer |
| RT 64500:20 | Extended: Kestrel marks portal routes with this tag |
| 4200000020:100:1 | Large: set by the 4-byte AS customer, and read by the first router that understands it |
| Prefix | Owner | Tag |
|---|---|---|
| 203.0.113.0/25 | EOS1 | 64500:120 |
| 203.0.113.128/25 | EOS1 | 64500:80 |
| 198.18.10.0/24 | EOS1 | no-export |
| 198.18.20.0/24 | EOS1 | no-advertise |
| 192.0.2.0/24 | CHR1 | 4200000020:100:1 |
| 198.51.100.0/24 | UP |
| Device | Interface | Address | Connects to |
|---|---|---|---|
| R1 | Loopback0 | 10.255.0.1/32 | |
| R1 | Gi0/0 | 172.16.1.1/30 | EOS1 Ethernet1 |
| R1 | Gi0/1 | 10.0.12.1/30 | R2 Gi0/0 |
| R2 | Loopback0 | 10.255.0.2/32 | |
| R2 | Gi0/0 | 10.0.12.2/30 | R1 Gi0/1 |
| R2 | Gi0/1 | 172.16.2.1/30 | UP Gi0/0 |
| R2 | Gi0/2 | 172.16.3.1/30 | CHR1 ether1 |
| EOS1 | Ethernet1 | 172.16.1.2/30 | R1 Gi0/0 |
| EOS1 | Loopback0 | 10.255.0.10/32 | |
| EOS1 | Loopback1 | 203.0.113.1/25 | |
| EOS1 | Loopback2 | 203.0.113.129/25 | |
| EOS1 | Loopback3 | 198.18.10.1/24 | |
| EOS1 | Loopback4 | 198.18.20.1/24 | |
| UP | Loopback0 | 10.255.0.9/32 | |
| UP | Loopback1 | 198.51.100.1/24 | |
| UP | Gi0/0 | 172.16.2.2/30 | R2 Gi0/1 |
| CHR1 | ether1 | 172.16.3.2/30 | R2 Gi0/2 |
| CHR1 | lan | 192.0.2.1/24 |
What you’ll practise
- Explain the format and purpose of standard, extended and large communities
- Turn on sending per neighbour and per community type where a vendor needs it
- Act on a community with a community list and a route map
- Show exactly how no-export and no-advertise limit a route
- Remove internal communities before routes leave the AS
- Explain why a 4-byte AS needs large communities, and prove an optional transitive attribute crosses a router that doesn't understand it
The tasks
- What a community is
- Make communities readable and send them
- Act on the community
- no-export and no-advertise
- Clean up on the way out
- Extended communities
- Large communities and a 4-byte AS
The Lab Tasks pane has the scenario, these tasks, the checks to run, hints and the full solution.
Topology and devices
The network as it opens in EVE-NG, drawn from the lab’s own canvas, and the image each node runs.
Every link, as text
- EOS1
Ethernet1to R1Gi0/0 - R1
Gi0/1to R2Gi0/0 - R2
Gi0/1to UPGi0/0 - R2
Gi0/2to CHR1ether1
| Node | Device | Image in Add Node | Set to |
|---|---|---|---|
| R1 | Cisco IOSv | vios-adventerprisek9-m.spa.159-3.m9 | 1 vCPU, 512 MB |
| R2 | Cisco IOSv | vios-adventerprisek9-m.spa.159-3.m9 | 1 vCPU, 512 MB |
| EOS1 | Arista vEOS | veos-4.33.1.1F | 1 vCPU, 2,048 MB |
| UP | Cisco IOSv | vios-adventerprisek9-m.spa.159-3.m9 | 1 vCPU, 512 MB |
| CHR1 | MikroTik RouterOS | mikrotik-7.14.2 | 1 vCPU, 256 MB |
How to open this lab
Sign in to your workspace at
lab.cloudlabbox.com.In File Manager, open Shared, then the folder
BGP in depth guided labs.Open
04 - BGP communities of every sizeand start its nodes, then open Lab Tasks for the scenario and the steps.
The lab is read-only. You can start the nodes and configure the devices, but changes to the topology can’t be saved. To change it, rebuild it in your own folder.
More BGP in depth labs
Related labs in other courses
CloudLabBox is independent of Arista Networks, Cisco, Juniper Networks and MikroTik. The lab follows exam topics and isn’t vendor training material; vendor names identify the exams and the images in the workspace.