BGP Flashcards
What is the command to show the summary of BGP running on a router?
Router1# show ip bgp summary
What is meant by a well-known BGP attribute?
This means that it is an industry standard according to RFC 4271 and that all routers that run BGP will have these attributes.
What are the three well-known, mandatory BGP path attributes?
1.) AS-Path
2.) Next-Hop
3.) Origin
What are the two well-known, discretionary BGP path attributes?
1.) Local Preference
2.) Atomic Aggregate
What is meant by a BGP attribute that is transitive?
It means that the router will pass the attribute along to another router if received, even if that router does not support the attribute.
What is meant by a BGP attribute that is optional?
The attribute is not compliant with RFC 4271 industry standard.
What types of simple messages do BGP routers send to each other?
Open, Keepalive, Update, Notification
What are the 6 progressive states of BGP peering?
Idle
Connect
Active
OpenSent
OpenConfirm
Established
Briefly describe what is happening in each of the BGP peering states
Idle - nothing is going on. Could mean a neighbor relationship has failed and returned to Idle
Connect - a TCP three way handshake has been sent.
Active - the BGP router is actively trying to create a neighbor relationship
OpenSent - an “Open” message has been sent and awaiting a confirmation message
OpenConfirm - a BGP neighbor has sent back an OpenConfirm message
Established - a BGP neighbor relationship has been formed.
NOTE: You will not see OpenSent, Open Confirm, or Established when trying to view BGP neighbor states.
What is the Cisco BGP Best Path Algorithm in order of attribute preference?
- Weight
- Local Preference
- Locally Originated
- Accumulated IGP (AIGP)
- Shortest AS-Path
- Origin Type
- Lowest Multi-Exit Discriminator (MED/Metric)
- eBGP over iBGP
- Oldest Route
- Lower Peer Router-ID (RID)
- Lowest Cluster List Length
- Lowest Next Hop Address
What command shows the BGP routing table?
Router# show ip bgp
What command would you use to see bgp neighbor information?
Router# show ip bgp summary
What command(s) might you need to ensure that an iBGP neighbor gets a BGP route into its routing table?
Router(config)# router bgp <AS>
Router(config-router)# neighbor <ip> remote-as <AS>
Router(config-router)# neighbor <ip> next-hop-self</ip></AS></ip></AS>
What command would you use to ‘reset’ all bgp neighbors? Why do you need to be careful about using that command?
Router# clear ip bgp *
This command will break all connections to BGP peers until the neighbor states are reestablished.
What is the command you would use to see all the routes being sent out from the router you are on?
Router1# show ip bgp neighbors <ip> advertised-routes</ip>