Chap 11 - BGP (part 2) Flashcards
What is the series of 6 BGP neighbor states called?
BGP Finite State Machine
During the connection process what 3 things happen if an error causes BGP to return to the Idle State?
- ConnectRetryTimer set to 120 seconds
- New TCP connection is re-tried in 120 seconds
- Further failures to leave IDLE state causes the timer to double each time
Who manages the connection during the Connect State?
The neighbor with the higher IP address.
What 4 things are checked in the OPEN Message that is received in the OpenSent State?
- BGP versions must match
- Source IP and ASN must match what has been configured locally
- Router IDs must be unique
- Security Parameters (password and TTL) must be set appropriately
What are the 3 basic components in configuring BGP?
- BGP Session parameters
- Address Family Initialization
- Activate the Address Family on the peer
What 3 commands are used to configure BGP Session parameters?
- router bgp (ASN)
- bgp router-id (router_ID)
- neighbor (IP_address) remote-as (neighbor’s AS)
What happens if the router ID is changed after a BGP session has been established?
All BGP sessions reset and need to be re-established
What is the default address family that is already activated?
IPv4
If the router ID is dynamically configured how does that happen?
- Highest Loopback interface IP address that is up/up
- Highest Physical interface IP address in an up/up state
What do BGP network statements do?
Identify specific network prefixes to be installed into the Loc-RIB table.
In order for a new prefix to be added to the Loc-RIB table what test must it meet?
The new route must have an exact match in the Global RIB.
What 3 Path Attributes are set when a Connected Network is added to the Loc-RIB table?
- Next Hop BGP Attribute set to 0.0.0.0
- BGP Origin Attribute set to I (for IGP)
- BGP weight set to 32,768
What 4 Path Attributes are set when a Static Route or a route from a Routing Protocol is added to the Loc-RIB table?
- Next Hop BGP Attribute set to Next Hop int the RIB
- BGP Origin Attribute set to I (for IGP)
- BGP weight set to 32,768
- MED attribute set to the IGP metric
What 2 conditions have to be met before a route in the Loc-RIB table is advertised?
- Outbound route policy is applied
- Route moves to adj-RIB-out
What happens to a route in the Loc-RIB table if its found to be invalid or next hop is not in the RIB?
The route remains in the Loc-RIB table but is not processed any further.
What happens to a route in the Loc-RIB table if it isn’t denied by the outbound route policy?
The route is moved to Adj-RIB-Out table and advertised to peers
What happens if a route’s Next Hop BGP Attribute is set to 0.0.0.0?
BGP changes the Next Hop Attribute to be that of the IP address of the local interface where the advertisement will go out.
How many tables does BGP use when maintaining prefixes and path attributes?
3
What are the names of the 3 tables used by BGP?
- Adj-RIB-In
- Loc-RIB
- Adj-RIB-Out
What is in the Adj-RIB-In table?
Contains the NLRIs learned from peers in original form before any inbound route policies are processed.