← Back to Part 2 Modules
PART 2 · ADVANCED BGP THEORY · MODULE M

Module M – Advanced BGP Features

Lesson content presented from the approved Part 2 master documentation.

This module covers communities, multipath, route dampening and conditional advertisement.

Learning objectives

1. Communities

TypeSize / formatReference
Standard32-bit; commonly high:lowRFC 1997
Extended8 octetsRFC 4360
LargeThree 32-bit fieldsRFC 8092

Well-known standard communities include NO_EXPORT (65535:65281), NO_ADVERTISE (65535:65282), NO_EXPORT_SUBCONFED (65535:65283) and NOPEER (65535:65284).

ip community-list standard CUSTOMER-TAG permit 65001:100
route-map TAG-CUSTOMER permit 10
 set community 65001:100 additive
!
router bgp 65001
 neighbor 11.1.1.2 send-community

additive preserves existing communities while adding the new value. Ensure the relevant community type is sent; syntax varies by platform. A tag does not itself enforce a specific export policy unless peers/policy honour it.

2. Multipath

BGP normally selects one best path. With multipath enabled, multiple eligible paths may be installed for forwarding. Eligibility depends on platform-specific equivalence rules; best-path evaluation still occurs.

router bgp 65001
 maximum-paths 2
 maximum-paths ibgp 2
! Optional platform feature:
bgp bestpath as-path multipath-relax

3. Route dampening

Dampening assigns penalties to repeated route flaps. A route may be suppressed after a threshold and become reusable after its penalty decays below a reuse threshold. Aggressive dampening can delay legitimate recovery; use selectively and validate current operational guidance.

4. Conditional advertisement

Conditional advertisement makes a route's advertisement depend on the presence or absence of another route, using advertise-map, exist-map and non-exist-map on supported platforms.

route-map ADVERTISE-THIS permit 10
 match ip address prefix-list PREFIX-TO-ADVERTISE
route-map CONDITION-EXISTS permit 10
 match ip address prefix-list CONDITION-PREFIX
!
router bgp 65001
 neighbor 11.1.1.2 advertise-map ADVERTISE-THIS exist-map CONDITION-EXISTS

Illustrative only: validate exact syntax, address-family placement and condition semantics on the target release.

Senior QA scenarios

IDTestExpected result
M-01Tag route with standard communityCommunity appears.
M-02Use additiveExisting communities retained and new tag added.
M-03Send communityPeer receives community when configured.
M-04Match community in route-mapPolicy applies.
M-05Apply NO_EXPORTPropagation limited when peers honour it.
M-06Enable multipathMultiple eligible next hops may be installed.
M-07AS_PATH multipath-relaxEligibility follows platform feature.
M-08Generate controlled flapsPenalty/suppression behaviour verified.
M-09Reach reuse thresholdRoute becomes reusable.
M-10Conditional condition true/falseAdvertisement follows condition.

Interview questions

Student Knowledge Assessment – Module M (reconstructed)

Q1. How large is a standard BGP community?

A. 16 bits

B. 32 bits

C. 64 bits

D. 128 bits

Correct answer: B. 32 bits

Explanation: Standard communities are 32-bit values.

Q2. Which RFC defines standard communities?

A. RFC 1997

B. RFC 4271

C. RFC 5082

D. RFC 5925

Correct answer: A. RFC 1997

Explanation: RFC 1997 defines BGP communities.

Q3. How many 32-bit fields are in a Large Community?

A. One

B. Two

C. Three

D. Four

Correct answer: C. Three

Explanation: Large Communities contain three 32-bit fields.

Q4. What does additive do?

A. Removes existing communities

B. Adds a community while preserving existing values

C. Resets BGP

D. Changes MED

Correct answer: B. Adds a community while preserving existing values

Explanation: Additive preserves existing communities and adds the specified value.

Q5. What does NO_EXPORT generally indicate?

A. Do not advertise beyond defined local AS/confederation scope

B. Always prefer route

C. Reject all iBGP

D. Disable TCP

Correct answer: A. Do not advertise beyond defined local AS/confederation scope

Explanation: NO_EXPORT limits propagation beyond its defined scope.

Q6. What does BGP multipath allow?

A. Installation of multiple eligible paths

B. Multiple ASNs

C. Multiple Hold Timers

D. Multiple BGP versions

Correct answer: A. Installation of multiple eligible paths

Explanation: Multipath can install multiple eligible paths.

Q7. Does multipath remove best-path evaluation?

A. Yes

B. No

C. Only iBGP

D. Only with communities

Correct answer: B. No

Explanation: BGP still evaluates paths; multipath installs additional eligible paths.

Q8. What is route dampening designed to reduce?

A. Repeated route-flap instability

B. TCP port usage

C. Prefix length

D. RPKI validation

Correct answer: A. Repeated route-flap instability

Explanation: Dampening penalizes repeated flaps and may suppress unstable routes.

Q9. What is a risk of aggressive dampening?

A. Delay legitimate recovery

B. Increase MTU

C. Disable AS_PATH

D. Make every route Valid

Correct answer: A. Delay legitimate recovery

Explanation: Overly aggressive dampening may suppress routes after the issue is fixed.

Q10. What does conditional advertisement depend on?

A. Presence/absence of specified routes

B. Hostname

C. TCP source port

D. NTP stratum

Correct answer: A. Presence/absence of specified routes

Explanation: Conditional advertisement uses route conditions to control advertisement.

Source and assessment note

Technical explanations, tables, examples, QA scenarios and assessments are presented from the approved Part 2 master documentation. Verify illustrative CLI syntax against the target router platform and software release before lab or production use.