Courseiva
mediumMultiple ChoiceObjective-mapped

CCNP 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?

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 is applied to outbound updates to neighbor 10.0.0.2. It sets the BGP community value to 65001:100 on all routes advertised to that neighbor. The community is a well-known transitive attribute that can be used for routing policy.

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 outbound, affecting routes sent to the neighbor, not received.

  • The router will set the community to 65001:100 on all routes advertised to neighbor 10.0.0.2.

    Why this is correct

    The 'out' direction and route-map cause the community to be set on outbound updates.

  • The router will filter routes with community 65001:100 from being advertised.

    Why it's wrong here

    The route-map permits all routes and sets the community; it does not filter.

  • The router will remove the community from routes advertised to the neighbor.

    Why it's wrong here

    The community is being set, not removed.

About these practice questions

Courseiva writes every 350-401 question from scratch — 1,175 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 →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

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.