BGP Receiving and Viewing Routes Flashcards

1
Q

Receiving and Viewing Routes

A

Not every prefix in the Loc-RIB table is advertised to a BGP peer or installed into the global RIB when received from a BGP peer.

BGP performs the following route-processing steps:

  1. Perform a quick validity check.
  2. Store the route in Adj-RIB-In and process inbound route policies.
  3. Update the Loc-RIB.
  4. Verify next-hop reachability.
  5. Compute the BGP best path.
  6. Install the BGP best path into the global RIB and advertise to peers.
  7. Process outbound neighbor route policies.
  8. Advertise the NLRI to BGP peers.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Perform a quick validity check

Step 1

A

This is performed on the route to ensure that a routing loop is not occurring.

Checking for its autonomous system number (ASN) in the AS-Path or its router-ID (RID) in the Internal Border Gateway Protocol (IBGP) path attributes (Originator/Cluster-ID).

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

Store the route in Adj-RIB-In and process inbound route policies

Step 2

A

The NLRI is stored in the Adj-RIB-In table in its original state.

The inbound route policy is applied based on the neighbor the route was received.

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

Update the Loc-RIB

Step 3

A

The BGP Loc-RIB database is updated with the NLRI after inbound route-policy processing has occurred.

The Adj-RIB-in is cleared to save memory.

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

Verify next-hop reachability

Step 4

A

Confirm that the next-hop address is resolvable in the global RIB.

If the next-hop address is not resolvable in the RIB, the NLRI remains but does not process further.

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

Compute BGP Best Path

Step 5

A

Multiple NLRIs (paths) can exist for the same network prefix in the Loc-RIB table.

BGP only advertises the best path to its neighbors.

The router must identify the BGP best path and pass only the best path and its path attributes to Step 6.

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

Install the BGP best path into the global RIB and advertise to peers

Step 6

A

Install the prefix into the Global RIB using the next-hop IP address from the BGP
Loc-RIB table.

In some occurrences, the route cannot be installed into the Global RIB (a static route that has a lower administrative distance than BGP), which results in a RIB failure.

A RIB failure does not prevent the advertisement of the NLRI to other BGP neighbors.

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

Process outbound neighbor route policies

Step 7

A

The NLRI is processed through any specific outbound neighbor route policies.

After processing, if the route was not denied by the outbound policies, the route is stored in the Adj-RIB-Out table for later reference.

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

Advertise the NLRI to BGP peers

Step 8

A

Advertise the NLRI to BGP peers.

If the NLRI’s next-hop BGP PA is 0.0.0.0, then the next-hop address is changed to the IP address of the BGP session.

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

Complete BGP Network Advertisement

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