easyMultiple Choice
CCNP Practice Question: Runs the following command on Router R1: R1# show…
A network engineer runs the following command on Router R1:
R1# show bgp ipv4 unicast neighbors 10.0.1.2 advertised-routes
Network Next Hop Metric LocPrf Weight Path *> 172.16.0.0/16 10.0.1.1 0 100 0 i *> 172.16.1.0/24 10.0.1.1 0 100 0 i
Total number of prefixes 2
Based on this output, what can be concluded?
⚠ Common exam trap
Cisco often tests the distinction between 'advertised-routes' and 'received-routes' keywords, trapping candidates who confuse which device is the sender versus receiver in the BGP neighbor relationship.
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
✓
R1 is advertising 2 prefixes to neighbor 10.0.1.2.
The command 'show bgp ipv4 unicast neighbors 10.0.1.2 advertised-routes' specifically displays the routes that Router R1 is sending to the BGP neighbor at 10.0.1.2. The output shows two prefixes (172.16.0.0/16 and 172.16.1.0/24) with a next hop of 10.0.1.1 (R1's own interface), confirming these are routes R1 is advertising. Therefore, option B is correct.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
R1 is receiving 2 prefixes from neighbor 10.0.1.2.
Why it's wrong here
This is incorrect because the command that produces this output is the BGP per-neighbor `advertised-routes` command (e.g., `show bgp ipv4 unicast neighbors 10.0.1.2 advertised-routes`), which displays only the routes that R1 has placed in its Adj-RIB-Out for that neighbor. It never shows incoming NLRI. To see prefixes R1 is actually learning from 10.0.1.2, you must use `show bgp ... neighbors 10.0.1.2 received-routes` (or `routes`), which requires either soft-reconfiguration or the route-refresh capability.
- ✓
R1 is advertising 2 prefixes to neighbor 10.0.1.2.
Why this is correct
The output is explicitly labeled as the set of routes R1 advertises to neighbor 10.0.1.2. The `advertised-routes` keyword causes the router to display the contents of the per-neighbor Adj-RIB-Out after outbound route policies have been applied, and the final line in that output reports a total of 2 prefixes. Therefore, R1 is sending exactly two prefixes toward 10.0.1.2, not receiving them.
- ✗
Neighbor 10.0.1.2 is advertising these routes to R1.
Why it's wrong here
This is wrong because it reverses the direction of the update flow. The output is generated on R1 and reflects what R1 will send to 10.0.1.2, not what 10.0.1.2 is offering to R1. If the neighbor were advertising these prefixes to R1, they would be stored in R1's Adj-RIB-In and appear in a `received-routes` query, not in an `advertised-routes` output. The perspective of the command is always the local router.
- ✗
The routes are being advertised with a next hop of 10.0.1.2.
Why it's wrong here
The next hop in this output is shown as 10.0.1.1, which is R1's own IP address on the interface facing 10.0.1.2, not the neighbor's address. In standard eBGP behavior, R1 advertises these routes with its own interface address as the NEXT_HOP because it is the origin of the advertisement in this hop. The neighbor address 10.0.1.2 is merely the peer or destination of the update; it is not the next-hop value carried in the BGP UPDATE message.
About these practice questions
This 350-401 question is part of Courseiva's 1,923-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. 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-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.