Chapter 13: Quiz – BGP Path Selection (Answers) CCNPv8 ENARSI

1. What is the first attribute to be used in determining the best path when a BGP router has multiple paths for the same network prefix length?

  • weight
  • lowest MED
  • local originated
  • local preference

Explanation: The BGP best-path algorithm uses the attributes, in the following order, for the best-path selection:

  1. Weight.
  2. Local preference.
  3. Local originated (network statement, redistribution, or aggregation).
  4. AIGP.
  5. Shortest AS_Path.
  6. Origin type.
  7. Lowest MED.
  8. EBGP over IBGP.
  9. Lowest IGP next hop.
  10. If both paths are external (EBGP), prefer the first (oldest).
  11. Prefer the route that comes from the BGP peer with the lower RID.
  12. Prefer the route with the minimum cluster list length.
  13. Prefer the path that comes from the lowest neighbor address.

2. Refer to the exhibit. A network administrator in autonomous system 65100 has set up a dual-homed BGP connection with an ISP. The administrator would like to ensure that all traffic from the ISP enters the autonomous system through the router R1. Which BGP attribute can the administrator configure on routers R1 and R2 to accomplish this?

Chapter 13: Quiz - BGP Path Selection (Answers) CCNPv8 ENARSI 1

  • multiple-exit discriminator
  • local preference
  • aggregate
  • next-hop
  • weight

Explanation: The multiple-exit discriminator (MED) is a nontransitive BGP attribute for best-path determination. MED uses a 32-bit value (0 to 4,294,967,295) called a metric. The purpose of MED is to influence traffic flows inbound from a different AS. A lower MED is preferred over a higher MED.

3. Which statement describes a feature of BGP transitive path attributes?

  • They are carried from one AS to another.
  • They are effective when the enterprise AS carries transitive data traffic.
  • They are imported to an IGP when both IBGP and IGP are used within an AS.
  • Their changes only influence the local BGP routing policy and provide information to neighboring BGP routers.

Explanation: BGP path attributes (PAs) can be either transitive or nontransitive. Transitive PAs are carried from one AS to another AS and those changes could affect downstream routing for other SPs too. Nontransitive PAs influence the routing policy only within the organization. All the BGP path attributes cannot be maintained within IGP protocols. Only BGP is capable of maintaining the path attribute as the prefix is advertised from one edge of the AS to the other edge.

4. What is the default local preference value assigned to a prefix received from a BGP peer?

  • 25
  • 50
  • 100
  • 200

Explanation: Local preference (LOCAL_PREF) is a well-known discretionary path attribute and is included with path advertisements throughout an AS. If an edge BGP router does not define the local preference upon receipt of a prefix, the default local preference value of 100 is used during best-path calculation and is included in advertisements to other iBGP peers.

5. When a BGP router needs to make the best-path decision based on the routing protocol used to advertise the route, which source is the most preferred by BGP?

  • IBGP peer
  • EBGP peer
  • a peer that is a member of the peer group
  • confederation member AS peer

Explanation: The eighth BGP best-path decision factor is whether the route comes from an IBGP, EBGP, or confederation member AS (Sub-AS) peering. The best-path selection order is as follows:

  1. EBGP peers (most desirable)
  2. Confederation member AS peers
  3. IBGP peers (least desirable)

6. Which BGP path attribute correlates to the AS hop count?

  • AIGP
  • AS_Path
  • origin code
  • multi-exit discriminator

Explanation: The fifth decision point in the BGP best-path algorithm is the AS_Path length, which typically correlates to the AS hop count. A shorter AS_Path is preferred over a longer AS_Path.

7. Which class of BGP path attributes is supported by all BGP implementations and is not advertised between autonomous systems?

  • optional transitive
  • optional nontransitive
  • well-known mandatory
  • well-known discretionary

Explanation: The BGP prefix path attributes are classified as follows:

  • Well-known mandatory – supported by all BGP implementations and advertised between autonomous systems
  • Well-known discretionary – supported by all BGP implementations and not advertised between autonomous systems
  • Optional transitive – supported by some BGP implementations and advertised between autonomous systems
  • Optional nontransitive – supported by some BGP implementations and not advertised between autonomous systems

8. What is the term used to refer to the value of the BGP multi-exit discriminator (MED) attribute?

  • cost
  • metric
  • priority
  • selection

Explanation: The BGP multi-exit discriminator (MED) attribute is nontransitive. The MED uses a 32-bit value (0 to 4,294,967,295) called a metric.

9. A network administrator is configuring BGP multipathing. In order for additional paths to be placed in the RIB, which three BGP path attributes must match the best-path? (Choose three.)

  • AIGP
  • weight
  • originated
  • local preference
  • AS_Path length
  • neighbor IP address

Explanation: BGP selects only one best path, but it allows for the installation of multiple routes into the RIB. When BGP multipathing is configured, the additional paths need to match the following best-path BGP path attributes:

  • Weight
  • Local preference
  • AS_Path length
  • AS_Path content
  • Origin
  • MED
  • Advertisement method (IBGP or EBGP)

10. Which two conditions must be met before a BGP route is eligible as a best path? (Choose two.)

  • It must have the lowest AD value.
  • It must pass the route validity check.
  • It must have at least one backup route.
  • It must have the highest MED attribute.
  • The next-hop IP address for the route must be resolvable.

Explanation: All BGP prefixes must pass the route validity check, and the next-hop IP address must be resolvable for the route to be eligible as a best path.

11. Refer to the exhibit. A network administrator is configuring a BGP router. Which two statements describe the result of the configuration? (Choose two.)

Chapter 13: Quiz - BGP Path Selection (Answers) CCNPv8 ENARSI 2

  • The routes that match the prefix list PRE192 are least preferred for outbound traffic.
  • Received routes that match the prefix list PRE192 are assigned an i in the BGP table.
  • Received routes that match the prefix list PRE192 are assigned a ? in the BGP table.
  • The routes that match the prefix list PRE192 are considered least desirable for inbound traffic.
  • Received routes that do not match the prefix list PRE192 will not advertise the origin attribute to neighbor peers.

Explanation: The sixth decision point in the best-path algorithm is the well-known mandatory BGP attribute named origin. By default, networks that are advertised on Cisco routers using the network statement are set with the i (for IGP) origin, and redistributed networks are assigned the ? (incomplete) origin attribute. The origin preference order is as follows:

  1. IGP origin
  2. Exterior Gateway Protocol (EGP) origin
  3. Incomplete origin

The origin attribute of a prefix can be modified by using the command set origin {igp |incomplete} on a route map. Because the origin attribute is a well-known mandatory BGP attribute, it will be included in the advertisement to BGP peers.


Related Articles

guest
0 Comments
Inline Feedbacks
View all comments