Información

Autor(es) Noah Van Horenbeke
Fecha de entrega Sin fecha de envío
Tiempo límite de envío Sin límite de envío

Inicia sesión

4 - BGP Roles

🎯 Learning Objectives

This lab will allow you to:

  • Diagnose: use vtysh to inspect BGP roles and peering relationships between AS (see [1]).
  • Fix: identify and resolve configuration errors related to BGP roles enforcement

In this lab, you will need to verify and enforce the following interdomain routing policies based on BGP roles:

  • Routes learned from a customer must be exported to all neighbors (customers, peers, and providers).
  • Routes learned from a peer or a provider must be exported only to customers.

These policies are enforced using BGP Roles and OTC (Only-To-Customer) attribute as defined in .

Lab Presentation

Lab network topology

This image represents the correct topology (without errors) that you should obtain after debugging [2].

Each router should advertises its loopback address as a BGP prefix.

This lab contains a preconfigured network infrastructure, but several intentional errors have been introduced, including incorrect BGP roles configuration. It's up to you to identify and fix them!

📥 Download the Base Lab

Download the starting archive
To begin the exercise, you need to download the archive [3]. It contains the base configuration with errors to fix.

Diagnostic Tools

vtysh is the unified command-line interface of FRRouting (the routing software used in the containers).

It allows you to configure and inspect all routing protocols (BGP, OSPF, RIP, etc.) from a single interface.

Useful commands for diagnosing BGP:

# Access vtysh on r5
root@r5:/# vtysh
r5#

# All following commands are run inside vtysh

# Displays the active BGP configuration
show running-config

# Display BGP neighbor summary (session status, local pref values...)
show bgp ipv6 summary

# Display the complete BGP routing table (learned routes)
show bgp ipv6 unicast

# Display routes advertised to the neighbors
show bgp neighbors <IP> advertised-routes

# Display BGP roles (local / remote)
show bgp neighbor <IP> json
The show bgp neighbor ... command lets you view useful information such as localRole and remoteRole. Try experimenting with its various options. It's a great way to verify that roles are correctly configured and consistent on both sides.

Submit your corrected zip here

Tamaño máximo de archivo: 2.9 MiB
Extensiones permitidas: .zip