Chap 12 - Advanced BGP (part 2) Flashcards

1
Q

List the 13 Best Path Decision Makers and path attributes in order that are examined to determine the best path.

A
  • Weight * Local Pref
  • Local Originated
  • AIGP
  • Shortest AS_Path
  • Origin Type
  • Lowest MED
  • eBGP or iBGP
  • Lowest IGP next hop
  • If both paths are eBGP then the oldest route
  • Prefer the route that comes from the Peer with the lowest RID
  • Lowest Cluster List Length
  • Lowest neighbor address
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is path attribute Weight?

A
  • 16-bit value
  • Assigned locally on the router
  • Not advertised to other routers
  • Higher weight is preferred
  • Only influences outbound traffic
  • It’s the first attribute examined so it over-rides other attributes.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

If Weight is not assigned what is the default value?

A

0

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

What is path attribute Local_Pref?

A
  • Well-known Discretionary
  • iBGP only
  • Included with advertisements throughout an AS
  • Indicates the preference for exiting the AS
  • Not advertised to eBGP peers
  • Higher value preferred
  • Default value is 100
  • Can be set for specific routes with route-map
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the path attribute Local Originated?

A
  • Determines if the route originated locally
  • Preference is given in the following order
    • routes advertised locally
    • networks aggregated locally
    • routes received by BGP peers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the path attribute AIGP?

A
  • Accumulated Interior Gateway Protocol
  • Optional Non-transitive
  • Used btw multiple AS’s under same routing domain
  • When IGP is redistributed into BGP AIGP can accept the OSPF metric as this path attribute and advertise it to the other AS’s
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are the 4 AIGP guidelines?

A
  • A path with an AIGP metric is preferred to one without
  • AIGP metric includes the derived metric + the metric to the next hop
  • Lowest metric wins
  • If multiple AIGP paths exist and one next hop address contains an AIGP metric and the other doesn’t then the one without the AIGP metric will not be used
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the path attribute AS_Path?

A
  • A list of AS’s a packet has to go through to get to the destination
  • Basically a hop count
  • Shorter the list the better
  • Typically the AS path is prepended with the network owner’s ASN
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How is the AS_Path prepended to affect inbound traffic?

A

Create a route-map targeting a network being advertised outward and ‘set as-path prepend (ASN) (ASN) (ASN)’. Then apply the route-map to the BGP peer ending with keyword ‘out’

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

What is the path attribute Origin Type?

A
  • Well-known Mandatory
  • Networks advertised with the ‘network’ stmt assigned ‘I’ for IGP
  • Networks redistributed into BGP assigned ‘incomplete’ or ‘?’ * Preference order:
    • 1) IGP origin
    • 2) EGP origin
    • 3) Incomplete origin *
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the path attribute MED ?

A
  • Multiple-exit Discriminator
  • Non-transitive
  • Default is 0
  • Used in iBGP only
  • Should only be used if there are 2 links to the same AS
  • Uses 32-bit value called metric
  • Lower value is better
  • Applied with a route map
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the Best Path decision maker is eBGP over iBGP

A
  • Prefer eBGP first
  • Confederation members second
  • iBGP peers last
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the Best Path decision maker Lowest IGP metric to the next hop?

A

Prefer the path with the lowest IGP metric to the BGP next hop.

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

What is the Best Path decision maker Oldest EGP route

A

When 2 paths are eBGP prefer the path that is oldest.

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

What is the Best Path decision maker Peer with the lowest RID

A

Prefer the path that comes from the BGP peer with the lowest RID

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

What is the Best Path decision maker Lowest Cluster Length?

A
  • Based on the Cluster List Path Attribute
  • Cluster Lists contain the list of Route Reflectors that have advertised the route
  • The fewer entries on this list the better when BGP is doing path selection.
17
Q

What is the Best Path decision maker Lowest Neighbor Address?

A

Take the path of the router whose neighbor has the lowest address based on the ‘bgp neighbor’ statement under ‘router bgp 55355’

18
Q

If router A advertises a route to router B with the community attribute set to ‘no_advertise’ will router B receive the route?

A

Yes, it does not modify how router A advertises the route. It modifys how neighbor routers advertise the routes received from router A.