nerdexam
Cisco

350-401 · Question #23

What is the correct EBGP path attribute list, ordered from most preferred to the least preferred, that the BGP best-path algorithm uses?

The correct answer is B. weight, local preference, AS path, MED. BGP Best-Path Selection Explanation Option B is correct because the BGP best-path algorithm evaluates attributes in this specific order: Weight (Cisco proprietary, highest value preferred) → Local Preference (highest value preferred) → AS Path (shortest path preferred) → MED (low

Submitted by kevin_r· Mar 6, 2026Infrastructure

Question

What is the correct EBGP path attribute list, ordered from most preferred to the least preferred, that the BGP best-path algorithm uses?

Options

  • Aweight, AS path, local preference, MED
  • Bweight, local preference, AS path, MED
  • Clocal preference, weight, AS path, MED
  • Dlocal preference, weight MED, AS path

How the community answered

(30 responses)
  • A
    3% (1)
  • B
    93% (28)
  • D
    3% (1)

Explanation

BGP Best-Path Selection Explanation

Option B is correct because the BGP best-path algorithm evaluates attributes in this specific order: Weight (Cisco proprietary, highest value preferred) → Local Preference (highest value preferred) → AS Path (shortest path preferred) → MED (lowest value preferred). This sequence reflects the actual decision logic Cisco routers use when selecting the best path among multiple BGP routes.

Why the distractors are wrong:

  • Option A incorrectly places AS Path before Local Preference - Local Preference is always evaluated before AS Path in the algorithm.
  • Option C swaps Weight and Local Preference - Weight is always the first (highest priority) attribute checked, not Local Preference.
  • Option D incorrectly places MED before AS Path - MED is only compared as a tiebreaker after AS Path has already been evaluated.

Memory Tip: Use the mnemonic "We Love AS MEDs"Weight, Local Preference, AS Path, MED. Alternatively, remember the phrase "We Look At More Details" - the attributes generally move from locally significant (Weight, Local Pref) to externally significant (AS Path, MED), which reflects their scope in the network.

Topics

#BGP#Path Attributes#Best-Path Algorithm

Community Discussion

No community discussion yet for this question.

Full 350-401 Practice