This module covers communities, multipath, route dampening and conditional advertisement.
Learning objectives
- Differentiate standard, extended and large communities.
- Use community tagging and matching.
- Explain multipath eligibility.
- Explain dampening and its operational risks.
- Understand conditional advertisement.
1. Communities
| Type | Size / format | Reference |
|---|---|---|
| Standard | 32-bit; commonly high:low | RFC 1997 |
| Extended | 8 octets | RFC 4360 |
| Large | Three 32-bit fields | RFC 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
| ID | Test | Expected result |
|---|---|---|
| M-01 | Tag route with standard community | Community appears. |
| M-02 | Use additive | Existing communities retained and new tag added. |
| M-03 | Send community | Peer receives community when configured. |
| M-04 | Match community in route-map | Policy applies. |
| M-05 | Apply NO_EXPORT | Propagation limited when peers honour it. |
| M-06 | Enable multipath | Multiple eligible next hops may be installed. |
| M-07 | AS_PATH multipath-relax | Eligibility follows platform feature. |
| M-08 | Generate controlled flaps | Penalty/suppression behaviour verified. |
| M-09 | Reach reuse threshold | Route becomes reusable. |
| M-10 | Conditional condition true/false | Advertisement follows condition. |
Interview questions
- What is a BGP community?
- Standard vs extended vs large?
- What does additive do?
- What does NO_EXPORT mean?
- What is multipath?
- Does multipath bypass best-path?
- What is dampening?
- Why can aggressive dampening be harmful?
- What is conditional advertisement?
- What do advertise-map/exist-map/non-exist-map do?
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.