nerdexam
Cisco

300-510 · Question #158

Refer to the exhibit. An engineer is troubleshooting an issue with this network and notices that prefixes from R3 are missing on the R1 rooting table. Due to repeated ASN, when the 10.0.0.0/8 prefix f

The correct answer is B. Configure the allowas-in command on R1.. BGP's built-in loop prevention mechanism rejects any prefix whose AS_PATH contains the receiving router's own ASN. When R1 and R3 share the same ASN and R3's 10.0.0.0/8 prefix travels through R2 back to R1, R1 sees its own ASN in the AS_PATH and drops it. The 'allowas-in' command

Routing Policy and Manipulation

Question

Refer to the exhibit. An engineer is troubleshooting an issue with this network and notices that prefixes from R3 are missing on the R1 rooting table. Due to repeated ASN, when the 10.0.0.0/8 prefix from R3 arrives at R1, BGP automatically rejects it. There is no prefix-list on R1 which blocks the traffic from R3. What should the engineer do to fix the problem so that BGP allows that prefix on R1?

Exhibit

300-510 question #158 exhibit

Options

  • AConfigure R2 as a route reflector client of R1.
  • BConfigure the allowas-in command on R1.
  • CConfigure the next-hop-self command on R2.
  • DConfigure identical confederation ASNs on RI and R2.

How the community answered

(31 responses)
  • A
    13% (4)
  • B
    81% (25)
  • C
    3% (1)
  • D
    3% (1)

Explanation

BGP's built-in loop prevention mechanism rejects any prefix whose AS_PATH contains the receiving router's own ASN. When R1 and R3 share the same ASN and R3's 10.0.0.0/8 prefix travels through R2 back to R1, R1 sees its own ASN in the AS_PATH and drops it. The 'allowas-in' command on R1 overrides this behavior, instructing BGP to accept prefixes even when the local AS appears in the AS_PATH. This is the standard fix for hub-and-spoke or back-to-back BGP designs where the same ASN appears on both ends. Option A (route reflector) addresses iBGP split-horizon, not ASN loop prevention. Option C (next-hop-self) fixes reachability of BGP next-hops, not AS_PATH filtering. Option D (confederation ASNs) is irrelevant since confederations use sub-ASNs to solve a different iBGP scalability problem.

Topics

#BGP#AS_PATH#Loop Prevention#allowas-in

Community Discussion

No community discussion yet for this question.

Full 300-510 Practice