BGP-Weight 2 Flashcards

Multiple-Choice Questions on BGP Weight Attribute

1
Q

If a router receives multiple paths to a destination, which path is selected first based on BGP Weight?

A) The path with the highest Weight
B) The path with the lowest AS Path
C) The path with the lowest MED
D) The path with the lowest Router ID

A

Answer: A) The path with the highest Weight

📌 Explanation: The Weight attribute has the highest priority in BGP path selection. If two paths exist, the one with the highest Weight is preferred.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How is BGP Weight applied to routes?

A) It is manually set on outbound advertisements
B) It is automatically set and cannot be changed
C) It can be manually assigned using a route-map
D) It is dynamically learned from the BGP peer

A

Answer: C) It can be manually assigned using a route-map

📌 Explanation: BGP Weight can be set manually using a route-map applied to a neighbor statement.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which command correctly sets the BGP Weight attribute for routes learned from a specific neighbor?

A) neighbor 192.168.1.1 weight 5000
B) set weight 5000 in a route-map
C) neighbor 192.168.1.1 set local-preference 5000
D) set as-path prepend 65000

A

Answer: B) set weight 5000 in a route-map

📌 Explanation: The set weight command within a route-map can be used to apply the Weight attribute to BGP routes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

If two paths exist with the following Weights, which will be preferred?

Path A: Weight = 200
Path B: Weight = 500

A) Path A
B) Path B
C) Both are equal
D) Neither

A

Answer: B) Path B

📌 Explanation: The path with the highest Weight is always preferred.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What happens to the BGP Weight attribute when a route is advertised to a BGP neighbor?

A) The Weight value is reset to 0
B) The Weight value is propagated unchanged
C) The Weight value is multiplied by 2
D) The Weight value is ignored by the receiving router

A

Answer: D) The Weight value is ignored by the receiving router

📌 Explanation: Weight is a local attribute and is not advertised to BGP neighbors. It is only relevant to the router that assigns it.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly