Informations

Auteur(s) Noah Van Horenbeke
Date limite Pas de date limite
Limite de soumission Pas de limite

Se connecter

4 - BGP Roles QCM

QCM Presentation

This quiz accompanies the BGP Roles lab and serves as a comprehension check before diving into the debugging. The goal is not to memorize FRR syntax, but to clearly understand why BGP Roles exist when operators already know how to write export route-map rules and configure per-neighbor local-preference values.

References:


Question 1: Main distinction

Your lab partner argues: "We already filter exports with route-maps and set local-preference per neighbor type. BGP Roles are just syntactic sugar for the same thing."

What is the single most important capability that BGP Roles (RFC 9234) give you that a pure local-pref + route-map setup cannot provide?

Question 2: OTC usage

Consider this FRR snippet on r5 for neighbor r6 (which is r5's provider):

router bgp 65005
neighbor fc00:56::6 remote-as 65006
neighbor fc00:56::6 local-role customer
!
address-family ipv6 unicast
    neighbor fc00:56::6 route-map RM-IN in
    neighbor fc00:56::6 route-map RM-OUT out
!
route-map RM-IN permit 10
    set local-preference 50
!
route-map RM-OUT permit 10

The RM-OUT route-map is permit 10 with no filtering. Does this configuration risk leaking provider routes back to r6 (i.e. back to the provider)?

Question 3: Diagnosis

You run show bgp ipv6 summary on r3 and the session to r4 is stuck in Active / Idle, flapping. You run show bgp neighbor fc00:34::4 json and see "localRole": "peer". On r4, the equivalent command shows "localRole": "provider". What is happening?

Question 4: Local-Pref and Export Policy

A student writes: "In the Gao-Rexford model, customer routes have local-preference 200, peer routes 100, provider routes 50. So if I configure those local-pref values correctly on r5, I don't need BGP Roles — the policy is already enforced." What is wrong with this reasoning?

Question 5: Diagnostic commands

On r5, you want to verify which routes are actually being advertised to the peer at fc00:25::2. Which command is correct, and what extra thing should you then cross-check to make sure BGP Roles are doing their job?