nerdexam
Cisco

350-401 · Question #796

Refer to the exhibit. R1 has a BGP neighborship with a directly connected router on interface Gi0/0. Which command set is applied between the iterations of show ip bgp 2.2.2.2?

The correct answer is D. R1(config)#ip route 2.2.2.2 255.255.255.255 192.168.50.2. Explanation Option D is correct because the show ip bgp 2.2.2.2 command initially shows the route as unreachable or absent, and after adding a static host route (ip route 2.2.2.2 255.255.255.255 192.168.50.2), BGP can now resolve the next-hop reachability for 2.2.2.2 - causing it

Submitted by lars.no· Mar 6, 2026Infrastructure

Question

Refer to the exhibit. R1 has a BGP neighborship with a directly connected router on interface Gi0/0. Which command set is applied between the iterations of show ip bgp 2.2.2.2?

Exhibits

350-401 question #796 exhibit 1
350-401 question #796 exhibit 2

Options

  • AR1(config)#router bgp 65001
  • BR1(config)#router bgp 65002
  • CR1(config)#no ip route 192.168.50.2 255.255.255.255 Gi0/0
  • DR1(config)#ip route 2.2.2.2 255.255.255.255 192.168.50.2

How the community answered

(23 responses)
  • A
    17% (4)
  • B
    4% (1)
  • C
    9% (2)
  • D
    70% (16)

Explanation

Explanation

Option D is correct because the show ip bgp 2.2.2.2 command initially shows the route as unreachable or absent, and after adding a static host route (ip route 2.2.2.2 255.255.255.255 192.168.50.2), BGP can now resolve the next-hop reachability for 2.2.2.2 - causing it to appear as valid/best in the BGP table in the second iteration of the command. BGP requires next-hop reachability to mark a prefix as valid, and this static route provides that resolution.

  • Option A is wrong because R1 is already in BGP AS 65001 (as described); re-entering the same AS would not change the BGP table entry for 2.2.2.2.
  • Option B is wrong because changing the AS number would tear down the existing BGP neighborship entirely, not simply make 2.2.2.2 reachable.
  • Option C is wrong because removing a static route to the neighbor address (192.168.50.2) would break the peering session, not improve route visibility for 2.2.2.2.

Memory Tip: Remember "BGP won't use what it can't reach" - if the BGP next-hop isn't resolvable in the routing table (RIB), the prefix stays invalid. Adding a static route to resolve the next-hop is a classic BGP troubleshooting fix seen frequently on CCNP/CCIE exams.

Topics

#BGP#Static Routing#BGP Peering#Next-hop Resolution

Community Discussion

No community discussion yet for this question.

Full 350-401 Practice