7 - More BGP & Policy Flashcards
AS-Path Attribute
Sequence of ASes that have been traversed. Used for loop detection
Does shorter path always mean shorter
No, there may be an unknown internal structure which causes the route to be longer
Next Hop attribute meaning
Next hop to reach a network. Usually a local network is the next hop in an eBGP session.
Next Hop Attribute
Recursive route lookup
How do BGP and iGP interact in this case?
BGP looks into IGP to find next hop info
BGP is not permitted to use a BGP route as the next hop
What is Community Attribute stored as?
bits and the format of those bits
32 bit number (two 16 bits separated by colon)
What is the first half of the Community attribute?
Usually an AS number
Who determines the meaning of the community attribute’s second half?
ISP determines meaning of second half
What messages carry community attribute?
BGP protocol messages
Why use policies?
Steer traffic through preferred paths
Prefix filtering
Enforce customer ISP agreements
What is the decision process for updates in a router (considering policies)
All inputs have the in-policy filter applied.
Best path is selected
Final update has out-policy filter
BGP “in” process
receive path info from peers
results of selection placed in BGP table
“best path” flagged
BGP “out” process
builds update using info from RIB
may modify update based on config
What are Prefix Lists used for?
Filtering routes.
Can be combined with route maps
Prefix Lists: Notation?
CIDR Address/mask notation
Prefix list: ordering
First relevant rule wins