nerdexam
Juniper

JN0-281 · Question #50

Which statement is correct about the BGP AS path when advertising routes?

The correct answer is D. The local AS number is added to the beginning of the AS path. The BGP AS (Autonomous System) path attribute is crucial in path selection and loop prevention. Each BGP router appends its local AS number to the beginning of the AS path when it advertises a route to an external BGP (eBGP) peer. AS Path Attribute: The AS path is a sequence of…

Underlay Network

Question

Which statement is correct about the BGP AS path when advertising routes?

Options

  • AThe order of the AS path is not significant.
  • BThe local AS number is added to the end of the AS path.
  • CThe order of the AS path is only significant in IBGP.
  • DThe local AS number is added to the beginning of the AS path.

How the community answered

(47 responses)
  • A
    4% (2)
  • B
    2% (1)
  • D
    94% (44)

Explanation

The BGP AS (Autonomous System) path attribute is crucial in path selection and loop prevention. Each BGP router appends its local AS number to the beginning of the AS path when it advertises a route to an external BGP (eBGP) peer. AS Path Attribute: The AS path is a sequence of AS numbers that a route has traversed to reach a destination. Each AS adds its number to the front of the path, allowing BGP to track the route's history. Why the Local AS is Added at the Beginning: When advertising a route to an eBGP neighbor, a BGP router adds its own AS number to the beginning of the AS path. This ensures that the AS path reflects the route's journey accurately from the origin to the destination, and prevents loops in BGP. If the route returns to the same AS, the router will detect its AS number in the path and reject the route, preventing routing loops. Order of the AS Path: The order is significant because BGP uses it to select the best path. A shorter AS path is preferred, as it indicates fewer hops between the source and destination.

Topics

#BGP AS path#route advertisement#EBGP#loop prevention

Community Discussion

No community discussion yet for this question.

Full JN0-281 Practice