mediumMultiple Choice
350-401 Practice Question: Consider the following BGP configuration on a…
Consider the following BGP configuration on a Cisco IOS-XE router:
router bgp 65001 neighbor 10.0.0.2 remote-as 65002 neighbor 10.0.0.2 route-map SET_COMMUNITY out
! route-map SET_COMMUNITY permit 10 set community 65001:100
What is the effect of this configuration?
⚠ Common exam trap
350-401 often tests the direction of route-map application — candidates confuse 'in' (affects received routes) with 'out' (affects advertised routes) and pick the wrong effect.
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
✓
The router will set the community to 65001:100 on all routes advertised to neighbor 10.0.0.2.
The route-map SET_COMMUNITY is applied with the 'out' keyword on the neighbor statement, meaning it is evaluated on routes being advertised to neighbor 10.0.0.2. The 'set community 65001:100' action therefore stamps the community value 65001:100 on all outbound routes sent to that neighbor.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The router will set the community to 65001:100 on all routes received from neighbor 10.0.0.2.
Why it's wrong here
The route-map is applied with the out keyword on the neighbour, so it modifies advertisements sent to 10.0.0.2, not routes received from it. Inbound modification would require the in keyword on that neighbour statement instead.
- ✓
The router will set the community to 65001:100 on all routes advertised to neighbor 10.0.0.2.
Why this is correct
The outbound route-map applies the set community action to every prefix advertised to 10.0.0.2, so the neighbour receives routes tagged 65001:100. Because no send-community keyword is shown, the attribute is set locally but only transmitted if community propagation is enabled.
- ✗
The router will filter routes with community 65001:100 from being advertised.
Why it's wrong here
The route-map entry is a permit statement with a set clause, so matching routes are advertised with the community attached; no match community condition or deny action exists to filter anything. Filtering would need a match community statement paired with a deny.
- ✗
The router will remove the community from routes advertised to the neighbor.
Why it's wrong here
The route-map uses the set community command, which attaches the value 65001:100 to outbound advertisements; no command removes or strips communities. Removal would require set community none or an equivalent delete action, which this configuration does not contain.
Go deeper
Related to this question
About these practice questions
Courseiva writes every 350-401 question from scratch — 1,923 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official Cisco exam blueprint
This 350-401 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-401 exam.