nerdexam
Cisco

300-420 · Question #182

Refer to the exhibit. A network engineer is designing a network for AS100. The design should ensure that all traffic enters AS100 via link 1 unless there is a network failure. In the event of a…

The correct answer is D. Use AS-Path prepending on R4. To control inbound BGP traffic and ensure Link 1 is preferred over Link 2 for traffic entering AS100, the solution must make routes advertised via Link 2 less attractive to external peers.

Advanced Addressing and Routing Solutions

Question

Refer to the exhibit. A network engineer is designing a network for AS100. The design should ensure that all traffic enters AS100 via link 1 unless there is a network failure. In the event of a failure, link 2 should function as the path for incoming traffic. Which solution should the design include?

Exhibit

300-420 question #182 exhibit

Options

  • AModify the next-hop attribute on R3.
  • BUse AS-Path prepending on R3.
  • CModify the next-hop attribute on R4.
  • DUse AS-Path prepending on R4.

How the community answered

(40 responses)
  • A
    8% (3)
  • B
    15% (6)
  • C
    5% (2)
  • D
    73% (29)

Why each option

To control inbound BGP traffic and ensure Link 1 is preferred over Link 2 for traffic entering AS100, the solution must make routes advertised via Link 2 less attractive to external peers.

AModify the next-hop attribute on R3.

Modifying the next-hop attribute on R3 primarily affects how next-hop reachability is communicated to BGP peers but does not directly influence external path preference for incoming traffic in the same way AS-Path prepending does.

BUse AS-Path prepending on R3.

Using AS-Path prepending on R3 would make Link 1 less preferred for incoming traffic, which contradicts the requirement for Link 1 to be the primary path.

CModify the next-hop attribute on R4.

Modifying the next-hop attribute on R4 has a similar effect to option A; it does not directly influence external path preference for incoming traffic to establish Link 2 as a backup path.

DUse AS-Path prepending on R4.Correct

Using AS-Path prepending on R4 when advertising routes out via Link 2 will artificially lengthen the AS-Path for those routes. External BGP peers prioritize paths with shorter AS-Paths, thus they will prefer Link 1, making Link 2 the designated backup.

Concept tested: BGP inbound traffic engineering with AS-Path prepending

Source: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/iproute_bgp/configuration/xe-16/irg-xe-16-book/irg-bgp-policy-conf-xe.html

Topics

#BGP#AS-Path prepending#Traffic engineering#Ingress routing

Community Discussion

No community discussion yet for this question.

Full 300-420 Practice