350-501 Networking Practice Question
Exhibit
Refer to the exhibit. router bgp 65000 neighbor 10.1.1.1 remote-as 65001 neighbor 10.1.1.1 route-map SET_COMM in ! route-map SET_COMM permit 10 match ip address prefix-list CUSTOMER set community 65000:100 65000:200 ! ip prefix-list CUSTOMER seq 5 permit 172.16.0.0/16 le 24
A network engineer applies the above configuration on a PE router. The PE receives route 172.16.1.0/24 from eBGP peer 10.1.1.1. Which communities will be attached to this route?
⚠ Common exam trap
Cisco often tests the misconception that the `additive` keyword is required for any communities to be attached, when in fact `additive` only controls whether existing communities are preserved or overwritten.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
65000:100 and 65000:200
The route-map 'SET_COMMUNITY' is applied to the eBGP neighbor 10.1.1.1 via the `neighbor 10.1.1.1 route-map SET_COMMUNITY in` command. The route-map first matches all routes with `match ip address prefix-list ANY` (which permits 0.0.0.0/0 le 32), then executes the `set community 65000:100 65000:200` action. Since the `additive` keyword is not used, the set command replaces any existing communities with the two listed communities (65000:100 and 65000:200). Therefore, both communities are attached to the route 172.16.1.0/24.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
65000:100 only
Why it's wrong here
Route-map sets two communities, not just one.
- ✗
No communities are attached because the route-map does not specify additive.
Why it's wrong here
Without 'additive', the set community overwrites existing, but no existing were present. The route gets these communities.
- ✗
65000:200 only
Why it's wrong here
Both are set.
- ✓
65000:100 and 65000:200
Why this is correct
The set community command can include multiple values.
Go deeper
Related to this question
About these practice questions
One of 971 original 350-501 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This 350-501 practice question is part of Courseiva's free Cisco certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 350-501 exam.